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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x5c]
push ebp
push esi
mov eax, dword [ebx + 8]
push edi
shl eax, 4
push eax
call sub.MSVCRT.dll_malloc
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x70]
mov ecx, 6
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov ebp, eax
mov eax, dword [esp + 0x68]
push ebp
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x44]
push ebx
push ecx
call fcn.0046e1e0
mov ebx, eax
mov eax, dword [esp + 0x90]
add esp, 0x20
cmp dword [eax + 0x14], 3
jne 0x46dd8f
mov edx, dword [eax + 0x50]
mov ecx, dword [esp + 0x34]
cmp edx, ecx
jne 0x46dd5c
mov ecx, dword [eax + 0x54]
mov edx, dword [esp + 0x38]
cmp ecx, edx
jne 0x46dd5c
mov edx, dword [eax + 0x48]
mov ecx, dword [esp + 0x2c]
cmp edx, ecx
jne 0x46dd5c
mov ecx, dword [eax + 0x4c]
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x46dd5c
mov edx, dword [eax + 0x58]
mov ecx, dword [esp + 0x3c]
cmp edx, ecx
jne 0x46dd5c
mov ecx, dword [eax + 0x5c]
mov edx, dword [esp + 0x40]
cmp ecx, edx
je 0x46dd8f
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
lea esi, [eax + 0x48]
mov eax, dword [esp + 0x6c]
push ebp
push edi
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
push edx
push esi
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jge 0x46dd8f
lea edi, [esp + 0x2c]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov ecx, 6
lea esi, [esp + 0x2c]
lea edi, [esp + 0x44]
mov edx, dword [esp + 0x78]
dec eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 6
lea esi, [esp + 0x2c]
lea edi, [esp + 0x14]
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x8c], 0
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov edx, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x78]
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
dec edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x78]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
mov edx, dword [esp + 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x4c]
push ebp
push edx
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jge 0x46df2a
mov ecx, 6
lea esi, [esp + 0x14]
lea edi, [esp + 0x2c]
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], 0x20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
inc ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x6c]
push ebp
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jge 0x46df77
mov ecx, 6
lea esi, [esp + 0x14]
lea edi, [esp + 0x2c]
mov ebx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x70], 0x400
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
dec edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x78]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x46dd8f
mov edx, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x78]
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x6c]
dec ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
inc edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x78]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
dec eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov edx, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
mov eax, dword [esp + 0x78]
push ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x6c]
inc ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x74]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
dec edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x6c]
push ebp
push eax
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jl 0x46e1b2
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
mov ecx, 6
lea esi, [esp + 0x44]
lea edi, [esp + 0x14]
inc eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x6c]
push ebp
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x74]
push eax
push ecx
lea eax, [esp + 0x28]
push edx
push eax
call fcn.0046e1e0
add esp, 0x1c
cmp eax, ebx
jge 0x46e1bb
lea esi, [esp + 0x14]
jmp 0x46dd82
push ebp
call fcn.0043d798
mov edi, dword [esp + 0x64]
mov ecx, 6
lea esi, [esp + 0x30]
add esp, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x4c
ret