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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x30], 1
mov dword [eax + 0x34], ecx
mov edx, dword [ebp + 8]
mov dword [edx + 0x38], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x70], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x88], 0
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [edx + 0x90], 0xffffffff
mov dword [edx + 0x94], eax
mov ecx, dword [ebp + 8]
xor edx, edx
xor eax, eax
mov dword [ecx + 0x68], edx
mov dword [ecx + 0x6c], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x4c], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x64], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x80], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x20
jbe 0x46e556
mov dword [ebp - 0x10], 0x20
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x54], edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx]
cmp eax, dword [edx + 0x20]
je 0x46e5ea
mov dword [ebp - 8], 0
jmp 0x46e588
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x20
jae 0x46e5b3
imul edx, dword [ebp - 8], 0x28
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0xc8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0
je 0x46e5b1
mov eax, dword [ebp - 0x18]
push eax
call fcn.0046dfd0
jmp 0x46e57f
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x5c], 0
je 0x46e5df
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x5c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
call edx
mov eax, dword [ebp + 8]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp + 8]
add eax, 0x98
push eax
call fcn.0046e110
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x24], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x28], 0
mov eax, dword [ebp + 8]
imul ecx, dword [eax + 0x58], 0x28
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0xc8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x58]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x58], edx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0046e090
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46e69d
mov edx, dword [ebp - 0xc]
add edx, 0x20
push edx
call fcn.004722c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46e69d
mov eax, dword [ebp - 0xc]
add eax, 0x1c
push eax
call fcn.004722c0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46e69d
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0046cfc0
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x46e69d
mov eax, dword [ebp + 8]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046df40
mov edx, dword [ebp - 4]
push edx
call fcn.00401230
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46e6b8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x40], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x38], 0
jne 0x46e6d3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0
jne 0x46e6d3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
je 0x46e6d5
jmp 0x46e6df
mov edx, dword [ebp + 8]
mov dword [edx + 0x44], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x44], 0
je 0x46e6ec
xor eax, eax
jmp 0x46e6ef
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 4