Function at 0x46e1a0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1d0
push ebx
push ebp
xor ebx, ebx
cmp dword [esp + 0x1dc], ebx
push esi
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x1f8]
push edi
mov dword [esp + 0x44], ecx
jne 0x46e1ce
mov edi, 0xc0000005
jmp 0x46e947
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov edi, dword [esp + 0x38]
jne 0x46e1fe
cmp edi, ebx
jne 0x46e1fe
mov edi, 0xc000011e
jmp 0x46e947
mov ecx, dword [esp + 0x1f4]
mov ebp, dword [esp + 0x1f0]
and ecx, 8
cmp cl, 8
jne 0x46e246
cmp ebp, ebx
je 0x46e246
mov edx, dword [ebp + 4]
cmp edx, edi
jl 0x46e246
jg 0x46e228
mov ecx, dword [ebp]
cmp ecx, eax
jbe 0x46e246
lea ecx, [esp + 0x1fc]
call fcn.004c4020
pop edi
pop esi
pop ebp
mov eax, 0xc0000040
pop ebx
add esp, 0x1d0
ret 0x20
lea edx, [esp + 0x68]
push 0x30
push edx
mov dword [esp + 0x24], ebx
call fcn.0045e3d0
mov eax, dword [esp + 0x200]
add esp, 8
test eax, 0x1000000
push ebx
je 0x46e6ff
mov edx, dword [esi]
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push 0x40
lea ecx, [esp + 0x1a8]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x46e6f5
cmp dword [esp + 0x20], 0x40
jne 0x46e6f5
cmp word [esp + 0x1a0], 0x5a4d
jne 0x46e6f5
mov eax, dword [esp + 0x1dc]
mov edi, dword [esi]
push ebx
cdq
push ebx
push edx
push eax
mov eax, dword [edi + 0x30]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push 0xf8
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call edx
test eax, eax
jne 0x46e6f5
cmp dword [esp + 0x20], 0xf8
jne 0x46e6f5
mov ecx, dword [esp + 0xd0]
cmp ecx, ebx
mov eax, dword [esp + 0xdc]
mov dword [esp + 0x14], eax
jne 0x46e319
mov dword [esp + 0x68], ebx
jmp 0x46e31f
add ecx, eax
mov dword [esp + 0x68], ecx
movzx eax, word [esp + 0x106]
movzx ecx, word [esp + 0xac]
movzx edx, word [esp + 0x104]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x108]
mov dword [esp + 0x78], edx
mov dx, word [esp + 0xf0]
mov dword [esp + 0x74], eax
mov ax, word [esp + 0xf2]
mov dword [esp + 0x70], ecx
mov ecx, dword [edi]
mov dword [esp + 0x6c], ebx
mov word [esp + 0x7e], dx
mov word [esp + 0x7c], ax
cmp dword [ecx + 0x9c], ebx
je 0x46e3c8
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
push 1
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x18], 1
call edx
mov ecx, eax
call fcn.00498c20
mov ecx, dword [edi]
push eax
add ecx, 0xac
call fcn.00498c20
push eax
call dword [0x100a5b78]
test eax, eax
jne 0x46e3c8
lea edi, [eax + 1]
jmp 0x46e3ca
xor edi, edi
test byte [esp + 0x10], 1
je 0x46e3da
lea ecx, [esp + 0x3c]
call fcn.00498940
mov eax, dword [esp + 0xf8]
lea ebp, [esp + 0xa0]
push ebp
mov dword [esp + 0x34], eax
mov edx, dword [esi]
xor ecx, ecx
push 2
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov edx, dword [esp + 0x30]
mov ecx, dword [0x100a5870]
push ebx
push 0x8000000
push 0x40
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x1f4]
lea eax, [esp + 0x48]
push eax
push ebx
or edx, 0xf
add ecx, 0x2dc
push edx
mov dword [esp + 0x58], ebx
mov edx, dword [ecx]
lea eax, [esp + 0x34]
push eax
mov eax, dword [edx + 0x24]
call eax
call eax
cmp edi, ebx
mov dword [esp + 0x2c], ebx
je 0x46e45e
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
mov eax, dword [edx + 0xb4]
cmp eax, ebx
je 0x46e45e
mov dword [esp + 0x14], eax
jmp 0x46e4f8
mov ecx, dword [esp + 0x30]
mov edi, dword [0x100a5870]
mov ebp, dword [0x10088224]
push 0x40
push 0x100000
push 1
lea eax, [esp + 0x3c]
push eax
push ebx
push ecx
push ebx
lea edx, [esp + 0x30]
push edx
add edi, 0x3cc
call ebp
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
je 0x46e4f0
cmp dword [esp + 0x14], ebx
je 0x46e4e8
mov edx, dword [esp + 0x30]
mov edi, dword [0x100a5870]
push 0x40
push 0x100000
push 1
lea ecx, [esp + 0x3c]
push ecx
push ebx
push edx
push ebx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], ebx
add edi, 0x3cc
call ebp
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
cmp edi, ebx
jne 0x46e93e
mov dword [esp + 0x2c], 1
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov ecx, dword [esp + 0xfc]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x14]
mov edi, dword [eax + 0x3c]
movzx ecx, word [edi + eax + 0x14]
add edi, eax
cmp word [edi + 6], bx
lea ecx, [edi + ecx + 0x18]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x50], ebx
jbe 0x46e6c7
lea ebx, [ecx + 0xc]
mov dword [esp + 0x10], ebx
jmp 0x46e555
mov ebx, dword [esp + 0x10]
mov edx, dword [ebx - 4]
lea eax, [esp + 0x48]
push eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x50], edx
mov edx, dword [edi + 0x38]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebx + 4]
push edx
mov edx, dword [ebx + 8]
push eax
push ecx
push edx
call fcn.00466270
mov ebp, dword [ebx]
add ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
push eax
push ebp
mov dword [esp + 0x44], ebp
call fcn.0045e3d0
mov ecx, dword [esp + 0x38]
xor eax, eax
add esp, 0x20
cmp ecx, eax
jne 0x46e5c3
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
lea ecx, [esp + 0x98]
push ecx
push 1
mov ecx, eax
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x74], eax
call edx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x48], 0
je 0x46e5f1
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
push ecx
push ebp
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x50]
sub eax, dword [ebx]
mov edx, dword [ebx + 8]
mov ebx, dword [esp + 0xa0]
add eax, edx
cmp eax, ebx
jae 0x46e608
mov ebx, eax
cmp word [edi + 6], 0
mov dword [esp + 0x54], 0
jbe 0x46e66e
mov ebp, dword [esp + 0x58]
add ebp, 0x14
mov edi, edi
mov edx, dword [edi + 0x38]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [ebp - 4]
push edx
mov edx, dword [ebp]
push eax
push ecx
push edx
call fcn.00466270
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
add esp, 0x18
cmp eax, ecx
jbe 0x46e654
cmp eax, ebx
jae 0x46e654
mov ebx, eax
mov eax, dword [esp + 0x54]
movzx edx, word [edi + 6]
add eax, 1
add ebp, 0x28
cmp eax, edx
mov dword [esp + 0x54], eax
jl 0x46e620
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add ecx, eax
cmp ebx, ecx
mov dword [esp + 0x24], ecx
jbe 0x46e6a5
mov edx, dword [esi]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [edx + 0x30]
push ecx
mov ecx, esi
call eax
sub ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x20]
push eax
add ebp, ecx
push ebx
push ebp
mov ecx, esi
call edx
mov eax, dword [esp + 0x50]
movzx ecx, word [edi + 6]
add dword [esp + 0x10], 0x28
add eax, 1
cmp eax, ecx
mov dword [esp + 0x50], eax
jl 0x46e551
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp dword [esp + 0x2c], ebx
je 0x46e88f
mov edi, dword [0x100a5870]
push eax
add edi, 0x45c
call dword [0x10088224]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
jmp 0x46e88f
mov edi, 0xc000012f
jmp 0x46e93e
mov ecx, dword [0x100a5870]
push eax
mov eax, dword [esp + 0x1f0]
push 0x40
lea edx, [esp + 0x40]
push edx
push ebx
or eax, 7
add ecx, 0x2dc
push eax
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov edi, eax
cmp edi, ebx
jne 0x46e93e
mov edx, dword [esi]
push ebx
xor ecx, ecx
push ebx
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, esi
call eax
mov eax, dword [esp + 0x38]
xor edx, edx
test eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x46e919
mov edi, dword [esp + 0x34]
jg 0x46e774
test edi, edi
jbe 0x46e863
jmp 0x46e774
mov edi, dword [esp + 0x34]
mov ebp, dword [0x100a5990]
mov ecx, edi
sub ecx, edx
sbb eax, ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], 0
jg 0x46e79a
jl 0x46e794
cmp ecx, ebp
jae 0x46e79a
sub edi, edx
mov eax, edi
jmp 0x46e79c
mov eax, ebp
mov edi, dword [0x100a5870]
mov ebx, dword [0x10088224]
push 4
push 0
push 1
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x30], eax
push 0
lea eax, [esp + 0x2c]
push eax
add edi, 0x3cc
call ebx
mov ecx, dword [esp + 0x3c]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
push ecx
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x46e93c
mov ecx, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [0x100a5870]
push eax
add edi, 0x45c
call ebx
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
call eax
mov edi, eax
test edi, edi
jne 0x46e93c
mov edx, dword [esp + 0x24]
add edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
adc ebx, eax
mov eax, dword [esp + 0x38]
cmp ebx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ebx
jl 0x46e770
jg 0x46e912
mov edi, dword [esp + 0x34]
cmp edx, edi
jb 0x46e774
mov ebp, dword [esp + 0x1f0]
test ebp, ebp
je 0x46e88d
mov ecx, dword [ebp + 4]
cmp ecx, eax
mov edx, dword [ebp]
jl 0x46e88d
jg 0x46e877
cmp edx, edi
jbe 0x46e88d
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x3c]
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call edx
xor ebx, ebx
cmp dword [esp + 0x200], ebx
je 0x46e922
push ebx
push 1
push 1
push ebx
call dword [0x10088128]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x1e8]
mov edi, eax
push esi
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x200]
push ecx
push edx
add edi, 0x6000000
push eax
lea ecx, [esp + 0x40]
and edi, 0xfffffffc
push ecx
mov dword [esp + 0x3c], edi
call fcn.00488f20
mov ecx, dword [esp + 0x5c]
add esp, 0x18
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x28]
push eax
add ecx, 0x7c
call fcn.0046c1d0
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov ecx, dword [esp + 0x1e4]
mov dword [ecx], edi
je 0x46e938
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
xor edi, edi
jmp 0x46e93e
mov ebp, dword [esp + 0x1f0]
mov edi, dword [esp + 0x34]
jmp 0x46e863
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004660d0
mov edx, dword [esp + 0x1e8]
add esp, 4
mov dword [edx], eax
xor edi, edi
jmp 0x46e93e
xor ebx, ebx
lea ecx, [esp + 0x1c]
call fcn.00466140
cmp esi, ebx
je 0x46e953
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret 0x20