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

Disassembly:
push 0xffffffffffffffff
push 0x101fc839
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x24]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
mov esi, 1
lea eax, [esp + 0x134]
push eax
mov ecx, ebp
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], esi
mov dword [esp + 0x150], esi
mov dword [esp + 0x154], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10032f40
cmp eax, ebx
jne 0x1004688c
mov eax, dword [esp + 0x234]
lea edx, [esp + 0xf8]
push edx
mov edx, dword [eax + 0x28]
mov ecx, ebp
call fcn.10032f40
cmp eax, ebx
jne 0x1004688c
mov ecx, dword [esp + 0x23c]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
mov ecx, ebp
call fcn.10044990
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x1004687b
cmp byte [esp + 0x240], bl
je 0x100466c9
mov ecx, dword [esp + 0x234]
cmp dword [ecx + 0x30], ebx
jne 0x100466c9
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], esi
mov dword [esp + 0x188], esi
mov dword [esp + 0x18c], ebx
call fcn.100358a0
mov ecx, dword [esp + 0x238]
lea edx, [esp + 0x1ac]
push edx
mov dword [esp + 0x22c], ebx
call fcn.10032c40
mov eax, dword [eax + 8]
push eax
lea ecx, [esp + 0x174]
push ecx
lea edx, [esp + 0x1c8]
mov ecx, ebp
call fcn.10044940
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x5c]
push edx
push eax
lea ecx, [esp + 0x178]
push ecx
mov ecx, dword [esp + 0x240]
lea edx, [esp + 0x1cc]
push edx
mov edx, dword [ecx + 0x24]
lea eax, [esp + 0x144]
push eax
push edx
push 0x39
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
mov eax, dword [esp + 0x238]
cmp dword [eax], ebx
jbe 0x10046573
lea ecx, [esp + 0x98]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
call fcn.100358a0
mov ecx, dword [esp + 0x238]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0xa0]
mov ecx, ebp
mov byte [esp + 0x230], 1
call fcn.10044940
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push edx
mov eax, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xac]
push eax
push 0x34
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
lea ecx, [esp + 0x98]
mov byte [esp + 0x228], bl
call fcn.10033c10
mov edx, dword [esp + 0x234]
sub esp, 0x60
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call fcn.10035ab0
call fcn.10044800
cmp al, bl
jne 0x1004667d
push edi
lea ecx, [esp + 0xfc]
call fcn.10043f70
mov eax, dword [esp + 0x14]
add eax, 0x34
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], eax
jmp 0x100465c0
lea ecx, [esp + 0x98]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
call fcn.100358a0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push edi
mov byte [esp + 0x230], 2
mov dword [esp + 0x24], ecx
call fcn.10044030
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0xa0]
mov ecx, ebp
call fcn.10044940
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
push ecx
mov edx, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0xac]
push edx
push 0x34
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
push edi
call fcn.100440e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x228], bl
call fcn.10033c10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], edx
jl 0x100465c0
push edi
call fcn.10044160
jmp 0x100466ad
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
push ecx
mov edx, eax
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x240]
push eax
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0x108]
push ecx
push eax
push 0x34
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x228], 0xffffffff
call fcn.10033c10
jmp 0x10046847
mov edx, dword [esp + 0x234]
sub esp, 0x60
mov ecx, esp
mov dword [esp + 0x6c], esp
push edx
call fcn.10035ab0
call fcn.10044800
cmp al, bl
jne 0x10046813
push edi
lea ecx, [esp + 0xfc]
call fcn.10043f70
mov eax, dword [esp + 0x14]
add eax, 0x34
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], eax
jmp 0x10046710
lea ecx, [esp + 0x98]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
call fcn.100358a0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x230], 3
mov dword [esp + 0x24], ecx
call fcn.10044030
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x24]
push edx
lea edx, [esp + 0xa0]
mov ecx, ebp
call fcn.10044940
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x238]
push ecx
mov ecx, dword [eax + 0x24]
lea edx, [esp + 0x13c]
push edx
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0xac]
push eax
push 0x34
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
push edi
call fcn.100440e0
cmp dword [esp + 0xb4], 0x10
mov dword [esp + 0x228], 0xffffffff
mov dword [esp + 0x98], 0x102048c4
jb 0x100467d5
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x100467d5
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
inc eax
add edx, 4
cmp eax, 4
mov dword [esp + 0xb4], 0xf
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
jl 0x10046710
push edi
call fcn.10044160
jmp 0x10046847
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push ecx
push edx
lea eax, [esp + 0x13c]
push eax
mov eax, dword [esp + 0x240]
mov ecx, dword [eax + 0x24]
mov eax, dword [eax + 0x28]
push ecx
lea edx, [esp + 0x108]
push edx
push eax
push 0x34
mov edx, ebp
mov ecx, edi
call fcn.10044dc0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x234]
mov esi, dword [esp + 0x23c]
push ecx
push edx
call fcn.10045150
cmp eax, ebx
mov dword [esp + 0xc], eax
je 0x10046876
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
je 0x10046876
mov eax, dword [ecx]
push 1
call dword [eax]
mov esi, 1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x10046888
mov edx, dword [ecx]
push esi
call dword [edx]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x220]
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x220
ret 0x14