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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x14], esi
mov edi, dword [esi]
mov al, byte [esi + 0x92]
mov dword [esp + 0x24], edi
mov byte [esp + 0x12], al
test dword [edi + 0x1c], 0x4000
je 0x465b52
mov ecx, dword [edx + 0x48]
mov ebx, 0xfff0bdc0
mov dword [esp + 0x20], ebx
test ecx, ecx
je 0x46555f
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x20], ebx
cmp dword [eax], ecx
je 0x46555f
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x465553
mov dword [esp + 0x20], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x10]
add ecx, ecx
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
test ebx, ebx
je 0x465937
jmp 0x465583
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
test eax, eax
je 0x4655ff
mov ecx, dword [edx]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x4655ae
neg eax
sbb eax, eax
jmp 0x4655b9
test eax, eax
je 0x4655bd
mov edx, eax
call fcn.0041e5d0
test eax, eax
je 0x4655ff
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x465924
lea ecx, [ebx + 0x24]
nop dword [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x4655fb
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x4655ed
cmp dword [ebp + 0x14], 0
jne 0x4655fb
inc esi
add ecx, 8
cmp esi, dword [ebx + 0x14]
jl 0x4655d0
jmp 0x465924
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x92], 0
mov eax, dword [ebx + 8]
push dword [esp + 0x38]
je 0x46561d
mov edx, eax
mov ecx, edi
call fcn.004585e0
add esp, 4
jmp 0x46562a
push eax
xor edx, edx
mov ecx, esi
call fcn.00458720
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x4657df
lea ecx, [esp + 0x34]
mov edx, eax
push ecx
lea ecx, [esp + 0x30]
push ecx
push ebx
mov ecx, esi
call fcn.00463fe0
add esp, 0xc
test eax, eax
jne 0x4657db
mov eax, dword [esp + 0x34]
test eax, eax
je 0x465665
mov ecx, eax
mov dword [esp + 0x28], eax
jmp 0x465674
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], ecx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x4656e9
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x465694
mov dword [ecx + esi*4], 0xffffffff
cmp dword [edi + 0x130], 0
je 0x4656e3
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x4656b2
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x4656b6
movzx eax, word [edx + 0x28]
push dword [esp + 0x20]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x1c]
call fcn.00457e10
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x28]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x465680
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov ecx, esi
mov edx, dword [esp + 0x20]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00457f80
inc dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x465732
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x34]
push ebx
push dword [esp + 0x40]
push dword [esp + 0x30]
call fcn.00464240
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x465787
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1cc]
test eax, eax
je 0x465765
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x46575a
cmp byte [ebx + 0x19], 7
je 0x465787
cmp eax, dword [ebx + 0x20]
jne 0x465765
cmp byte [ebx + 0x1a], 7
je 0x465787
push dword [esp + 0x30]
mov ecx, esi
push 1
push edx
push dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ebx
push dword [esp + 0x40]
push dword [esp + 0x30]
call fcn.00464240
add esp, 0x1c
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x465928
cmp dword [edi + 0x1d8], 0
je 0x4657aa
mov edx, ecx
mov ecx, edi
call fcn.0041b360
jmp 0x465928
cmp ecx, dword [edi + 0x128]
jb 0x4657cd
cmp ecx, dword [edi + 0x12c]
jae 0x4657cd
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x465928
push ecx
call fcn.0041b2f0
add esp, 4
jmp 0x465928
mov eax, dword [esp + 0x18]
cmp byte [esp + 0x12], 0
je 0x465b52
cmp byte [edi + 0x49], 0
jne 0x465b52
test eax, eax
jne 0x465928
mov esi, dword [esi + 8]
test esi, esi
jne 0x46581f
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x78], esi
jne 0x465818
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x465818
mov byte [ecx + 0x17], 1
call fcn.00439b90
mov esi, eax
mov eax, dword [esi + 0x88]
xor edx, edx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x30], eax
inc eax
add eax, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
test ecx, ecx
jle 0x4658cc
lea edi, [ebx + 0x24]
mov ecx, dword [ebp + 8]
mov eax, dword [edi]
inc ecx
add eax, ecx
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x465879
push 0
push dword [esp + 0x30]
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x38]
call fcn.00439d40
add esp, 0xc
jmp 0x4658af
mov edx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
add edi, 8
inc edx
mov dword [esp + 0x34], edx
cmp edx, dword [ebx + 0x14]
jl 0x465844
mov ecx, dword [esi + 0x88]
mov edi, dword [esp + 0x24]
jmp 0x4658d0
mov ecx, dword [esp + 0x30]
mov eax, dword [esi + 0xc]
movzx edx, byte [ebx + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x4658f2
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x93
mov ecx, esi
call fcn.00439d40
add esp, 0xc
jmp 0x465924
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x14]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x1c]
test ebx, ebx
jne 0x465580
mov ecx, dword [edx + 0x48]
mov edx, dword [edx]
add ecx, 0x38
push 0
call fcn.0041fa30
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x465b52
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x465985
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, ebx
push eax
call fcn.00465400
add esp, 8
test eax, eax
je 0x465b43
cmp byte [ebx + 0x18], 0
jne 0x4659a4
test dword [edi + 0x1c], 0x80000
jne 0x4659a4
cmp dword [esi + 0x78], 0
jne 0x4659a4
cmp byte [esi + 0x14], 0
je 0x465b43
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
mov ecx, esi
push eax
push ebx
call fcn.00463fe0
add esp, 0xc
test eax, eax
je 0x4659db
cmp byte [esp + 0x12], 0
je 0x465b52
cmp byte [edi + 0x49], 0
jne 0x465b52
jmp 0x465b43
push 0
push 0x58
mov ecx, edi
call fcn.0041b6b0
mov esi, dword [esp + 0x40]
mov edi, eax
add esp, 8
mov dword [esp + 0x38], esi
test edi, edi
je 0x465afe
push 0x50
lea ecx, [edi + 8]
mov dword [edi + 4], 1
push 0
push ecx
mov dword [edi], 1
call fcn.005b9c20
mov ecx, dword [esp + 0x30]
add esp, 0xc
mov dword [edi + 0x38], 0xffffffff
cmp byte [ecx + 0x49], 0
je 0x465a37
mov edx, edi
mov edi, ecx
call fcn.0045d820
jmp 0x465b02
mov eax, dword [edi]
xor edx, edx
lea esi, [eax + eax*4]
add esi, esi
call fcn.004592e0
mov dword [edi + esi*8 - 0x40], eax
mov dword [edi + esi*8 - 0x44], 0
mov ecx, dword [ebx]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov dword [edi + 0x18], ecx
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
inc dword [ecx + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x38], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x465a98
push 0xffffffffffffffff
push eax
push esi
push ebx
push edx
push dword [esp + 0x30]
mov edx, edi
call fcn.00464ca0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov edx, dword [esp + 0x34]
cmp dword [ebp + 8], 0
je 0x465ae8
xor eax, eax
cmp dword [ebp + 0x10], eax
push 1
push dword [ebp + 8]
setne al
push esi
add eax, 0x19
push ebx
push edx
push dword [esp + 0x30]
mov al, byte [eax + ebx]
mov edx, edi
mov byte [esp + 0x2b], al
call fcn.00464ca0
add esp, 0x18
cmp byte [ebx + 0x18], 0
jne 0x465ae8
mov al, byte [esp + 0x13]
cmp al, 9
je 0x465ae8
cmp al, 7
je 0x465ae8
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov edx, edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call fcn.0045d820
jmp 0x465b02
mov edi, dword [esp + 0x24]
test esi, esi
je 0x465b43
cmp dword [edi + 0x1d8], 0
je 0x465b1a
mov edx, esi
mov ecx, edi
call fcn.0041b360
jmp 0x465b43
cmp esi, dword [edi + 0x128]
jb 0x465b3a
cmp esi, dword [edi + 0x12c]
jae 0x465b3a
mov eax, dword [edi + 0x124]
mov dword [esi], eax
mov dword [edi + 0x124], esi
jmp 0x465b43
push esi
call fcn.0041b2f0
add esp, 4
mov ebx, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
test ebx, ebx
jne 0x465954
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret