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

Disassembly:
sub esp, 0xb4
push ebx
push ebp
push esi
mov esi, dword [esp + 0xc8]
push edi
mov ebx, ecx
mov edi, dword [esi + 4]
cmp edi, 0x200
je 0x4606ba
cmp edi, 0xa0
je 0x4606ba
cmp edi, 0x2a3
je 0x4606ba
cmp edi, 0x202
je 0x4606ba
cmp edi, 0x205
je 0x4606ba
cmp edi, 0x208
jne 0x460cc2
mov ebp, dword [0x52a490]
push 1
call ebp
test ax, ax
jl 0x460cc2
push 2
call ebp
test ax, ax
jl 0x460cc2
push 4
call ebp
test ax, ax
jl 0x460cc2
mov eax, dword [esp + 0xd0]
mov ebp, dword [esp + 0xc8]
mov edi, dword [0x52a468]
test eax, eax
jne 0x46072c
mov eax, dword [esi]
push eax
call fcn.00425d26
test eax, eax
je 0x460724
test dword [eax + 0x28], 0x401
jne 0x460724
mov ecx, dword [eax + 0x20]
push ecx
call edi
push eax
call fcn.00425d26
test eax, eax
jne 0x46070b
cmp eax, ebp
jne 0x460d92
test ebp, ebp
jne 0x460734
xor eax, eax
jmp 0x460737
mov eax, dword [ebp + 0x20]
push eax
call fcn.0042e980
mov edi, eax
mov eax, dword [ebx + 0x60]
add esp, 4
mov dword [esp + 0x28], edi
test eax, eax
je 0x460786
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x460786
mov edx, ecx
push edx
call dword [0x52a48c]
test eax, eax
je 0x460786
test edi, edi
jne 0x460786
mov eax, dword [ebx + 0x60]
push edi
push edi
push 0x401
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x52a440]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0xc
mov ecx, ebp
call fcn.0048e2e0
mov esi, eax
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x4607bc
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4607a0
push ecx
jmp 0x4607ab
mov edx, dword [eax + 0x20]
push edx
call dword [0x52a468]
push eax
call fcn.00425d26
cmp eax, esi
je 0x4607bc
mov ecx, dword [ebx + 0x60]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov eax, dword [ebx + 0x60]
mov ebp, dword [0x52a440]
or edi, 0xffffffff
test eax, eax
je 0x4607db
test eax, eax
je 0x4607df
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x46094a
test eax, eax
jne 0x4607ea
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x58]
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x460d92
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x460858
push eax
push 0x509cd0
call fcn.00425af8
add esp, 8
test eax, eax
je 0x46081f
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x60]
or al, 3
push eax
push esi
call fcn.0045cb90
jmp 0x460858
mov ecx, dword [ebx + 0x60]
mov edx, dword [0x529b88]
push ecx
push edx
call fcn.00425af8
add esp, 8
test eax, eax
je 0x460d92
mov eax, dword [ebx + 0x30]
mov ecx, dword [ebx + 0x40]
dec eax
neg eax
sbb eax, eax
and al, 0xc0
add eax, 0x40
or eax, ecx
mov ecx, dword [ebx + 0x60]
or al, 3
push eax
push esi
call fcn.0048e60a
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x460d92
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x460d92
lea ecx, [ebx + 0x98]
test ecx, ecx
je 0x46087b
mov ecx, dword [ecx + 4]
push 1
push ecx
mov ecx, dword [eax + 0x20]
push 0x30
push ecx
call ebp
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebx + 0x60]
push edx
push 0
mov ecx, dword [eax + 0x20]
push 0x418
push ecx
call ebp
mov eax, dword [ebx + 0x60]
lea edx, [ebx + 0x44]
push edx
push 0
mov ecx, dword [eax + 0x20]
push 0x41a
push ecx
call ebp
mov eax, dword [ebx + 0x90]
cmp eax, edi
je 0x4608c9
mov edx, dword [ebx + 0x60]
push 0
push eax
push 0x413
mov eax, dword [edx + 0x20]
push eax
call ebp
mov eax, dword [ebx + 0x94]
cmp eax, edi
je 0x4608e4
mov ecx, dword [ebx + 0x60]
push 0
push eax
push 0x414
mov edx, dword [ecx + 0x20]
push edx
call ebp
cmp dword [ebx + 0x58], edi
je 0x460900
mov ecx, dword [ebx + 0x60]
xor eax, eax
mov ax, word [ebx + 0x58]
mov edx, dword [ecx + 0x20]
push eax
push 1
push 0x403
push edx
call ebp
cmp dword [ebx + 0x54], edi
je 0x46091c
mov ecx, dword [ebx + 0x60]
xor eax, eax
mov ax, word [ebx + 0x54]
mov edx, dword [ecx + 0x20]
push eax
push 3
push 0x403
push edx
call ebp
cmp dword [ebx + 0x5c], edi
je 0x460938
mov ecx, dword [ebx + 0x60]
xor eax, eax
mov ax, word [ebx + 0x5c]
mov edx, dword [ecx + 0x20]
push eax
push 2
push 0x403
push edx
call ebp
mov eax, dword [ebx + 0x60]
push 0
push 0
push 0x401
mov ecx, dword [eax + 0x20]
push ecx
call ebp
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x2c]
mov esi, dword [ebx + 0x60]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x14], esi
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0xcc]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 0x20]
push eax
call dword [0x52a47c]
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x20]
test eax, eax
jne 0x4609ac
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x4c], 0x28
test eax, eax
je 0x4609b4
mov dword [esp + 0x4c], 0x2c
lea ecx, [esp + 0x2c]
mov edx, dword [ebx]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0xd0]
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x5c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x20]
xor edi, edi
cmp eax, edi
je 0x460a18
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x460a18
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x460a18
push eax
push ecx
call dword [0x52a164]
add esp, 8
test eax, eax
jne 0x460a18
mov edx, dword [esp + 0x2c]
push edx
call dword [0x52a168]
add esp, 4
mov dword [esp + 0x2c], edi
test byte [ebx + 0x40], 2
jne 0x460a38
mov eax, dword [esp + 0x70]
push eax
call fcn.0042d930
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
push edx
call fcn.0042d930
add esp, 8
mov eax, dword [ebx + 0x70]
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x460aa9
mov ecx, dword [ebx + 0x6c]
mov eax, dword [esp + 0x54]
cmp ecx, eax
jne 0x460aa9
lea edx, [esp + 0x5c]
lea eax, [esp + 0x88]
mov dword [esp + 0x18], edi
mov edi, dword [0x52a36c]
push edx
push eax
call edi
lea ecx, [ebx + 0x74]
lea edx, [esp + 0x78]
push ecx
push edx
call edi
lea eax, [esp + 0x88]
lea ecx, [esp + 0x78]
push eax
push ecx
call dword [0x52a424]
test eax, eax
je 0x460ab1
cmp dword [esp + 0x14], 0xffffffff
je 0x460c72
mov edx, dword [esp + 0xcc]
mov ecx, ebx
push edx
push esi
call fcn.0045ffb0
jmp 0x460c72
mov dword [esp + 0x18], 1
mov ecx, dword [ebx + 0x64]
lea eax, [ebx + 0x64]
cmp ecx, 0x28
mov dword [esp + 0x1c], eax
jb 0x460ad6
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x460ad6
push eax
mov eax, dword [esi + 0x20]
push 0
push 0x405
push eax
call ebp
cmp dword [esp + 0x14], 0xffffffff
je 0x460c21
mov eax, dword [esp + 0x10]
mov ecx, 0xb
lea esi, [esp + 0x4c]
lea edi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x98]
and ecx, 0x3fffffff
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [eax + 0x20]
push 0
push 0x404
push ecx
call ebp
mov eax, dword [ebx + 0x30]
cmp eax, 3
je 0x460b9e
cmp eax, 6
je 0x460b9e
cmp eax, 7
je 0x460b9e
cmp dword [ebx + 0x34], 0x50050
jae 0x460b3c
test eax, eax
je 0x460b9e
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x460b89
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x460b89
mov eax, dword [esp + 0x30]
test eax, eax
je 0x460b89
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 0x38]
push eax
push edx
mov eax, dword [esi + 0x20]
push 0x420
push eax
call ebp
mov eax, dword [esi + 0x20]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x98]
mov dword [esp + 0xbc], ecx
push edx
push 0
push 0x40c
push eax
call ebp
jmp 0x460ba2
mov esi, dword [esp + 0x10]
push 0
push 0
push 0x420
mov ecx, dword [esi + 0x20]
push ecx
call ebp
jmp 0x460ba2
mov esi, dword [esp + 0x10]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x460be5
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x460bd6
mov eax, dword [ebx + 0x2c]
mov edi, dword [esp + 0x14]
mov edx, dword [ebx + 0x28]
add eax, edi
push edx
push eax
call fcn.0043c570
test eax, eax
je 0x460bd6
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x2a49
push ecx
jmp 0x460be3
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x2a49
push edx
call ebp
test dword [esp + 0x50], 0x40000000
jne 0x460bf7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x460c34
mov eax, dword [esi + 0x20]
push 0
push 1
push 0x401
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0x213
push 0
push 0
push 0
push 0
push 0
push ecx
call dword [0x52a40c]
jmp 0x460c34
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x401
push edx
call ebp
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xcc]
mov ecx, ebx
push eax
push esi
call fcn.0045ffb0
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0x28
jb 0x460c63
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x460c63
mov ecx, dword [esi + 0x20]
push eax
push 0
push 0x405
push ecx
call ebp
mov edi, dword [esp + 0x1c]
mov ecx, 0xb
lea esi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x70]
cmp eax, 0xffffffff
je 0x460c8d
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x460c8d
push eax
call dword [0x52a168]
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x460c9f
push eax
call dword [0x52a168]
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x460d92
push eax
call dword [0x52a168]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0xc
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x460d0b
mov edx, dword [esi]
push edx
call fcn.00425d26
mov ebp, dword [esp + 0xc8]
test eax, eax
je 0x460d03
mov esi, dword [0x52a468]
cmp eax, ebp
je 0x460d0b
test dword [eax + 0x28], 0x401
jne 0x460d03
mov eax, dword [eax + 0x20]
push eax
call esi
push eax
call fcn.00425d26
test eax, eax
jne 0x460ce6
cmp eax, ebp
jne 0x460d92
cmp edi, 0x100
jb 0x460d1b
cmp edi, 0x108
jbe 0x460d8b
cmp edi, 0x104
jb 0x460d2b
cmp edi, 0x107
jbe 0x460d8b
cmp edi, 0x201
je 0x460d8b
cmp edi, 0x203
je 0x460d8b
cmp edi, 0x204
je 0x460d8b
cmp edi, 0x206
je 0x460d8b
cmp edi, 0x207
je 0x460d8b
cmp edi, 0x209
je 0x460d8b
cmp edi, 0xa1
je 0x460d8b
cmp edi, 0xa3
je 0x460d8b
cmp edi, 0xa4
je 0x460d8b
cmp edi, 0xa6
je 0x460d8b
cmp edi, 0xa7
je 0x460d8b
cmp edi, 0xa9
jne 0x460d92
mov ecx, ebx
call fcn.00460620
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0xc