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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x70
mov dword [esp + 0x14], ebx
call fcn.004840c0
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x466e47
mov eax, dword [ebp + 0x10]
push 1
push 0x100bc634
push eax
call fcn.004605d0
add esp, 0xc
test eax, eax
jne 0x466e47
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00460840
add esp, 4
test eax, eax
jne 0x466e47
push 0x100bc5f4
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.0043e5a0
mov edi, dword [esp + 0x50]
lea edi, [edi + edi + 0x70]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.0043e430
mov esi, dword [esp + 0x18]
push edi
push esi
call fcn.00458f10
mov edi, dword [ebp + 0xc]
lea edx, [esi + 0x38]
push edx
push edi
call fcn.00486310
mov eax, dword [esp + 0x5c]
add esp, 0x10
push eax
call dword [0x100b00c8]
add eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x4c]
push ecx
lea edx, [esi + 0x68]
push edx
call dword [0x100b00c4]
lea eax, [esi + 0x20]
push eax
lea ecx, [esi + 0x18]
push ecx
lea edx, [esi + 0x10]
push edx
add esi, 8
push esi
push edi
call fcn.004863c0
mov ecx, dword [ebp + 8]
add esp, 0x14
lea eax, [esp + 0x18]
push eax
call fcn.004841a0
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
mov ecx, dword [ebp + 0x18]
push edx
call fcn.00465640
cmp dword [ebp + 0x1c], ebx
jne 0x4669b7
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov dword [esp + 0x14], 1
call edx
mov ecx, eax
call fcn.004986f0
test eax, eax
mov byte [esp + 0x17], bl
je 0x4669bc
mov byte [esp + 0x17], 1
test byte [esp + 0x10], 1
je 0x4669cc
lea ecx, [esp + 0x40]
call fcn.00498440
cmp byte [esp + 0x17], bl
je 0x466c3a
lea eax, [esp + 0xa0]
push 0x18
push eax
call fcn.00458f10
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [esp + 0xa0]
push edx
call fcn.00461e60
mov eax, dword [esp + 0xa4]
add esp, 0x10
push eax
lea ecx, [esp + 0x44]
push ecx
call dword [0x100ccda0]
push ebx
push ebx
push 0x20
push 1
push 1
push ebx
lea edx, [esp + 0x58]
push ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0xbc], 0x18
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc8], 0x40
mov dword [esp + 0xc4], edx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
call fcn.004980e0
mov ecx, eax
call fcn.004c87c0
push eax
lea eax, [esp + 0xc0]
push eax
push 0x120089
lea ecx, [esp + 0x38]
push ecx
call fcn.00448890
push 0x100
lea ecx, [esp + 0x1c]
call fcn.0043e430
mov edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x24]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov esi, dword [0x100cca70]
push ebx
push edx
push 1
push edi
push eax
push ecx
lea ecx, [esp + 0x4c]
add esi, 0x54c
call fcn.004980e0
mov ecx, eax
call fcn.004c87c0
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esi]
push ebx
push ebx
push ebx
push edx
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
call eax
cmp eax, 0xc0000004
je 0x466a85
cmp eax, 0x80000005
je 0x466a85
cmp eax, 0xc0000023
je 0x466a85
cmp eax, ebx
jne 0x466bff
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x3c], esi
add esi, 0x3c
shr eax, 1
add eax, 1
lea edi, [eax + eax]
push edi
call fcn.00459050
mov ecx, dword [esi]
mov edx, dword [esp + 0x40]
push ecx
add edx, 0x68
push edx
push eax
mov dword [esp + 0x44], eax
call fcn.00458f30
mov esi, dword [esp + 0x44]
push 1
push 0x100bc5f4
push esi
mov word [edi + esi - 2], bx
call fcn.004605d0
add esp, 0x1c
test eax, eax
jne 0x466bf2
mov esi, dword [esp + 0x1c]
cmp esi, 0x76
je 0x466b83
mov edi, dword [esp + 0x18]
push 0x76
call fcn.00459050
add esp, 4
cmp esi, 0x76
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 0x76
jb 0x466b63
mov esi, 0x76
xor eax, eax
cmp esi, ebx
jbe 0x466b7a
mov cl, byte [eax + edi]
mov edx, dword [esp + 0x18]
mov byte [eax + edx], cl
add eax, 1
cmp eax, esi
jb 0x466b69
push edi
call fcn.00459000
add esp, 4
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x3c]
mov dword [eax], 4
mov eax, dword [eax]
push eax
lea ecx, [esi + 0x68]
push 0x100bc62c
push ecx
call fcn.00458f30
mov ecx, dword [ebp + 8]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
mov dword [esi], ebx
call fcn.004841a0
push 0x100bc62c
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0043e5a0
lea eax, [esp + 0x20]
mov ecx, eax
push eax
push ecx
mov ecx, dword [ebp + 0x18]
call fcn.00465640
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x466bee
push eax
call fcn.00459000
add esp, 4
mov esi, dword [esp + 0x34]
cmp esi, ebx
je 0x466bff
push esi
call fcn.00459000
add esp, 4
mov ecx, dword [0x100cca70]
mov edx, dword [esp + 0x10]
mov eax, dword [ecx + 0x2ac]
add ecx, 0x2ac
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov eax, dword [esp + 0x94]
cmp eax, ebx
je 0x466e1a
push eax
call fcn.00459000
add esp, 4
jmp 0x466e1a
push 0x100bc62c
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call fcn.0043e5a0
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
call fcn.0043e5a0
lea ecx, [esp + 0x20]
call fcn.0043e810
mov eax, dword [esp + 0x50]
lea eax, [eax + eax + 0x70]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], eax
call fcn.0043e430
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x18]
push ecx
push esi
call fcn.00458f10
mov edx, dword [edi]
mov edx, dword [edx + 0x44]
add esp, 8
lea eax, [esp + 0x3c]
push eax
mov ecx, edi
call edx
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
lea edx, [esp + 0x10]
push edx
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x466cbf
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x48]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
lea ecx, [esp + 0x2c]
call fcn.00498230
sub ax, 1
movzx edi, ax
cmp di, bx
je 0x466cfd
push edi
lea ecx, [esp + 0x30]
call fcn.00498530
cmp ax, 0x5c
je 0x466d0b
add edi, 0xffff
cmp di, bx
jne 0x466ce2
lea ecx, [esp + 0x2c]
call fcn.004c87c0
mov word [eax], bx
jmp 0x466d1b
lea ecx, [esp + 0x2c]
call fcn.004c87c0
lea ecx, [edi + edi - 2]
mov word [eax], cx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x30]
call fcn.00498450
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
lea edx, [esi + 0x38]
push edx
lea edx, [esp + 0x44]
push edx
call eax
mov ecx, dword [esp + 0x4c]
push ecx
call dword [0x100b00c8]
add eax, eax
mov dword [esi + 0x3c], eax
mov edx, dword [esp + 0x4c]
push edx
lea eax, [esi + 0x68]
push eax
call dword [0x100b00c4]
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x30]
call fcn.00498450
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esi + 8]
push eax
lea eax, [esp + 0x44]
push eax
call edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.00498450
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x18]
push eax
lea eax, [esp + 0x44]
push eax
call edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.00498450
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x44]
push eax
call edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x30]
call fcn.00498450
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
add esi, 0x20
push esi
lea eax, [esp + 0x44]
push eax
call edx
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
call fcn.004841a0
lea ecx, [esp + 0x4c]
push ecx
mov edx, ecx
mov ecx, dword [ebp + 0x18]
push edx
call fcn.00465640
lea ecx, [esp + 0x2c]
call fcn.00498440
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x466e1a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x466e33
push eax
call fcn.00459000
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x466e44
push eax
call fcn.00459000
add esp, 4
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x1c], ebx
je 0x4670ea
mov eax, dword [ebp + 0x28]
mov eax, dword [eax]
cmp eax, ebx
mov dword [esp + 0x3c], eax
je 0x467280
lea ecx, [esp + 0x2c]
push 4
push ecx
call fcn.00458f10
add esp, 8
push ebx
lea ecx, [esp + 0x24]
call fcn.0043f140
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [ebp + 0x28]
call fcn.00465380
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
test eax, eax
je 0x4670c5
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x60]
call eax
test eax, eax
jne 0x4670c5
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x68]
call eax
test eax, eax
jne 0x4670c5
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0xe0]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
push eax
call fcn.00485ae0
add esp, 8
test eax, eax
je 0x4670c5
mov edi, dword [esp + 0x24]
lea edi, [edi + edi + 0x6e]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0043e430
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.00458f10
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov eax, dword [eax + 0x4c]
add esp, 8
lea edx, [esp + 0x10]
push edx
call eax
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
lea ebx, [esi + 0x38]
push ebx
push 0x100b0384
lea ecx, [esp + 0xc0]
mov dword [esp + 0x20], eax
add edi, 0x18
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov ecx, dword [esp + 0x1c]
mov edx, dword [edi]
push eax
call edx
test dword [ebx], 0x10
jne 0x466fac
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esp + 0x40]
push eax
push 0x100b0384
lea ecx, [esp + 0xd8]
add edi, 0x20
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
mov eax, dword [esp + 0x20]
push eax
call dword [0x100b00c8]
add eax, eax
mov dword [esi + 0x3c], eax
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esi + 0x68]
push edx
call dword [0x100b00c4]
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 8]
push eax
push 0x100b0384
lea ecx, [esp + 0xc8]
add edi, 0x24
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 0x18]
push eax
push 0x100b0384
lea ecx, [esp + 0xd0]
add edi, 0x28
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
mov ebx, eax
lea eax, [esi + 0x10]
push eax
push 0x100b0384
lea ecx, [esp + 0x9c]
add edi, 0x2c
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
mov edx, dword [edi]
push eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x10]
mov edi, dword [eax]
add esi, 0x20
push esi
push 0x100b0384
lea ecx, [esp + 0x54]
mov ebx, eax
add edi, 0x30
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
push eax
mov eax, dword [edi]
mov ecx, ebx
call eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004841a0
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
call fcn.00465640
lea ecx, [esp + 0x10]
call fcn.0048e940
lea ecx, [esp + 0x34]
call fcn.0043e570
lea ecx, [esp + 0x20]
call fcn.0043e810
lea ecx, [esp + 0x2c]
call fcn.0048e940
xor ebx, ebx
jmp 0x4670d7
lea ecx, [esp + 0x20]
call fcn.0043e810
lea ecx, [esp + 0x2c]
call fcn.0048e940
cmp dword [esp + 0x3c], ebx
jne 0x466e61
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
lea ecx, [esp + 0x64]
call fcn.00498320
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x58]
push eax
push ebx
mov ecx, esi
call edx
test eax, eax
jne 0x467277
lea ebx, [ebx]
lea ecx, [esp + 0x64]
call fcn.004c87c0
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0043f740
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 8
push ecx
push edx
lea ecx, [esp + 0x54]
call fcn.00498160
mov ecx, eax
call fcn.004c87c0
push eax
call fcn.00485ae0
add esp, 8
test eax, eax
jne 0x467164
lea ecx, [esp + 0x20]
call fcn.0043e810
lea ecx, [esp + 0x64]
call fcn.00498440
jmp 0x467257
mov edi, dword [esp + 0x24]
lea edi, [edi + edi + 0x6e]
push edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0043e430
mov esi, dword [esp + 0x34]
push edi
push esi
call fcn.00458f10
mov eax, dword [esp + 0x68]
add esp, 8
mov dword [esi + 0x38], eax
test dword [esp + 0x60], 0x10
jne 0x4671b9
mov ecx, dword [esp + 0x58]
mov dword [esi + 0x28], ecx
mov edx, dword [esp + 0x5c]
mov dword [esi + 0x2c], edx
mov eax, dword [esp + 0x58]
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x34], ecx
mov edx, dword [esp + 0x20]
push edx
call dword [0x100b00c8]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esi + 0x68]
push ecx
call dword [0x100b00c4]
mov edx, dword [esp + 0x70]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x74]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x80]
mov dword [esi + 0x10], eax
mov ecx, dword [esp + 0x84]
mov dword [esi + 0x14], ecx
mov edx, dword [esp + 0x88]
lea ecx, [esp + 0x34]
mov dword [esi + 0x20], edx
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x24], eax
call fcn.004841a0
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x20]
push edx
mov eax, edx
push eax
call fcn.00465640
lea ecx, [esp + 0x34]
call fcn.0043e570
lea ecx, [esp + 0x20]
call fcn.0043e810
lea ecx, [esp + 0x64]
call fcn.00498440
mov esi, dword [ebp + 0xc]
lea ecx, [esp + 0x64]
call fcn.00498320
mov edx, dword [esi]
mov edx, dword [edx + 0x78]
lea eax, [esp + 0x58]
push eax
push ebx
mov ecx, esi
call edx
test eax, eax
je 0x467110
lea ecx, [esp + 0x64]
call fcn.00498440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24