Function at 0x4c1a40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [esp + 0x158]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], eax
xor eax, eax
mov dword [esp + eax + 0x64], edx
add eax, 4
cmp eax, 0x18
jb 0x4c1a5d
xor eax, eax
mov ecx, 0x20
lea edi, [esp + 0xb0]
mov edx, pe_nt_image_headers32
rep stosd dword es:[edi], eax
lea edi, [esp + 0x7c]
mov ecx, 0xd
mov dword [esp + 0x20], eax
rep stosd dword es:[edi], eax
mov dword [esp], 4
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
call sym._newSeqPayload_12
sub esp, 4
mov dword [esp + 0x80], eax
mov edx, dword [esp + 0x154]
mov eax, dword [esp + 0x150]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._eqdup___stdZassertions_u33_8
sub esp, 8
mov dword [esp], eax
lea ecx, [esp + 0x30]
mov dword [esp + 4], edx
call sym._nossplitFile_8
sub esp, 8
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esp], 0x4db1c8
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
call sym.___emutls_get_address
mov edx, dword [esp + 0x28]
movzx edi, byte [eax]
mov ebp, eax
mov eax, edi
test al, al
jne 0x4c1ea0
lea ecx, [esp + 0x6c]
mov ebx, dword [esp + 0x6c]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x28], edx
call sym._eqwasMoved___stdZassertions_u27_4
lea edi, [esp + 0xb0]
xor eax, eax
mov ecx, 0x20
rep stosd dword es:[edi], eax
mov dword [esp], ebx
mov dword [esp + 4], esi
call sym._toName__context_u495_8
movzx edi, byte [ebp]
sub esp, 8
mov dword [esp + 0xb0], eax
mov eax, edi
mov dword [esp + 0xb4], edx
test al, al
jne 0x4c1ed0
lea eax, [esp + 0xb8]
mov edx, dword [0x4f016c]
mov dword [esp + 8], eax
mov eax, dword [0x4f0168]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._getUrl__context_u17_12
movzx edi, byte [ebp]
sub esp, 0xc
mov eax, edi
test al, al
jne 0x4c1ed0
mov dword [esp + 0xfc], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x100], 0x4f0d70
mov dword [esp + 0x120], 0
movzx eax, byte [eax + 0x5c]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov byte [esp + 0x12e], al
call sym._toName__context_u495_8
movzx edi, byte [ebp]
mov esi, eax
sub esp, 8
mov ebx, edx
mov eax, edi
test al, al
jne 0x4c1ee0
mov dword [esp], 4
mov edx, 4
xor ecx, ecx
call sym._newSeqPayload_12
sub esp, 4
mov dword [esp + 8], 0
lea ecx, [esp + 0x90]
mov dword [esp + 0xc], eax
mov dword [esp], esi
mov dword [esp + 4], ebx
call sym._mgetOrPut__traversal_u46_20
movzx edi, byte [ebp]
mov ecx, eax
sub esp, 0x10
mov eax, edi
test al, al
jne 0x4c1ee0
xor edx, edx
call sym._add__traversal_u1579_8
mov eax, dword [esp + 0x150]
mov edx, dword [esp + 0x154]
mov dword [esp], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], edx
lea edx, [esp + 0x7c]
mov dword [esp + 4], eax
call sym._collectDeps__traversal_u4060_24
movzx edi, byte [ebp]
sub esp, 0x10
mov esi, edx
mov eax, edi
test al, al
jne 0x4c1dc3
movzx eax, byte [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
mov dword [esp], eax
call sym._traverseLoop__atlas_u2743_12
movzx edi, byte [ebp]
sub esp, 4
mov dword [esp + 0x20], eax
mov eax, edi
mov dword [esp + 0x24], edx
test al, al
jne 0x4c1dc3
mov eax, dword [esp + 0x1c]
test byte [eax + 0x22], 2
jne 0x4c1d60
mov ecx, eax
call sym._findSrcDir__atlas_u3164_4
movzx edi, byte [ebp]
mov ecx, eax
mov eax, edx
mov edx, edi
test dl, dl
jne 0x4c1d40
mov dword [esp + 0xc], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym._patchNimCfg__atlas_u3124_20
movzx edi, byte [ebp]
sub esp, 0x10
mov eax, edi
test al, al
mov eax, dword [esp + 0x2c]
jne 0x4c1d40
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
call sym._afterGraphActions__atlas_u75_8
movzx edi, byte [ebp]
mov eax, dword [esp + 0x2c]
mov byte [ebp], 0
test eax, eax
je 0x4c1dc7
test dword [eax], 0x40000000
jne 0x4c1dc7
mov dword [esp], eax
call sym._deallocShared
jmp 0x4c1dc7
mov edi, eax
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x5c]
mov edx, dword [edi + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._eqcopy___stdZassertions_u30_12
mov ecx, edi
sub esp, 8
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], edi
mov dword [esp + 8], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym._patchNimCfg__atlas_u3124_20
movzx edi, byte [ebp]
sub esp, 0x10
mov eax, edi
test al, al
jne 0x4c1dc3
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
call sym._afterGraphActions__atlas_u75_8
movzx edi, byte [ebp]
mov byte [ebp], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c1ddb
test dword [eax], 0x40000000
je 0x4c1e70
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call sym._eqdestroy___atlas_u2879_8
sub esp, 8
cmp byte [ebp], 0
jne 0x4c1e5e
test esi, esi
je 0x4c1e08
test dword [esi], 0x40000000
je 0x4c1e90
test ebx, ebx
je 0x4c1e14
test dword [ebx], 0x40000000
je 0x4c1e80
lea ecx, [esp + 0xb0]
call sym._eqdestroy___nimenv_u118_4
cmp byte [ebp], 0
jne 0x4c1e5e
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4c1e3b
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test eax, 0x40000000
je 0x4c1eb8
lea ecx, [esp + 0x64]
call sym._eqdestroy___stdZprivateZosdirs_u84_4
cmp byte [ebp], 0
jne 0x4c1e5e
lea ecx, [esp + 0x7c]
call sym._eqdestroy___traversal_u1816_4
cmp byte [ebp], 0
jne 0x4c1e5e
mov eax, edi
mov byte [ebp], al
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
mov dword [esp], eax
call sym._deallocShared
jmp 0x4c1ddb
mov dword [esp], ebx
call sym._deallocShared
jmp 0x4c1e14
mov dword [esp], esi
call sym._deallocShared
jmp 0x4c1e08
mov byte [ebp], 0
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x28], 0
jmp 0x4c1dc7
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call sym._deallocShared
jmp 0x4c1e3b
mov byte [ebp], 0
xor ebx, ebx
xor esi, esi
jmp 0x4c1dc7
mov byte [ebp], 0
xor esi, esi
jmp 0x4c1dc7