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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x556358]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], edx
push edi
mov dword [esp + 0x10], esi
mov edi, dword [esi]
movzx eax, byte [esi + 0x92]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
test dword [edi + 0x1c], 0x4000
je 0x46300c
mov ecx, dword [edx + 0x48]
mov ebx, 0xfff0bdc0
mov dword [esp + 0x24], ebx
test ecx, ecx
je 0x4629f6
mov edx, dword [edi + 0x14]
xor ebx, ebx
mov dword [esp + 0x24], ebx
test edx, edx
jle 0x4629f2
mov eax, dword [edi + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x4629ee
inc ebx
add eax, 0x10
cmp ebx, edx
jl 0x4629e2
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0xc]
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x10]
add ecx, ecx
mov dword [esp + 0x1c], ebx
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x462d9c
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
je 0x462a6f
mov ecx, dword [edx]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x462a40
neg eax
sbb eax, eax
jmp 0x462a4b
test eax, eax
je 0x462a4f
mov edx, eax
call fcn.00416710
test eax, eax
je 0x462a6b
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, ebx
push dword [ebp + 0x10]
call fcn.00462820
add esp, 8
test eax, eax
je 0x462d85
mov eax, dword [esp + 0x20]
cmp byte [esi + 0x92], 0
push eax
je 0x462a88
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.00454c70
add esp, 4
jmp 0x462a97
push dword [ebx + 8]
xor edx, edx
mov ecx, esi
call fcn.00454df0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x462c4f
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x34]
push ecx
push ebx
mov ecx, esi
call fcn.004610b0
add esp, 0xc
test eax, eax
jne 0x462c4b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x462ad2
mov ecx, eax
mov dword [esp + 0x1c], eax
jmp 0x462ae1
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x462b59
nop dword [eax + eax]
mov eax, dword [esp + 0xc]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x462b04
mov dword [ecx + esi*4], 0xffffffff
cmp dword [edi + 0x130], 0
je 0x462b53
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
test eax, eax
je 0x462b22
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x462b26
movzx eax, word [edx + 0x28]
push dword [esp + 0x24]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x18]
call fcn.004543a0
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1c]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x462af0
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x24]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.004545e0
inc dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x462ba2
push dword [esp + 0x28]
mov edx, dword [esp + 0x28]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x28]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x30]
call fcn.00461370
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x462bf7
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1cc]
test eax, eax
je 0x462bd5
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x462bca
cmp byte [ebx + 0x19], 7
je 0x462bf7
cmp eax, dword [ebx + 0x20]
jne 0x462bd5
cmp byte [ebx + 0x1a], 7
je 0x462bf7
push dword [esp + 0x28]
mov ecx, esi
push 1
push edx
push dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x30]
call fcn.00461370
add esp, 0x1c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x462d85
cmp dword [edi + 0x1d0], 0
je 0x462c1a
mov edx, ecx
mov ecx, edi
call fcn.00413520
jmp 0x462d85
cmp ecx, dword [edi + 0x128]
jb 0x462c3d
cmp ecx, dword [edi + 0x12c]
jae 0x462c3d
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x462d85
push ecx
call fcn.004134b0
add esp, 4
jmp 0x462d85
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], 0
je 0x46300c
cmp byte [edi + 0x49], 0
jne 0x46300c
test eax, eax
jne 0x462d85
mov esi, dword [esi + 8]
test esi, esi
jne 0x462c8f
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x78], esi
jne 0x462c88
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x462c88
mov byte [ecx + 0x17], 1
call fcn.004334f0
mov esi, eax
mov eax, dword [esi + 0x88]
mov edx, dword [ebx + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], eax
test edx, edx
jle 0x462d27
lea edi, [ebx + 0x24]
nop
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
inc edx
add edx, dword [edi]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x462cdc
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.00433810
add esp, 0xc
jmp 0x462d12
mov ebx, dword [esp + 0x1c]
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 + 0x14]
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 ecx, dword [esp + 0x28]
add edi, 8
inc ecx
mov dword [esp + 0x28], ecx
cmp ecx, dword [ebx + 0x14]
jl 0x462cb0
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
movzx edx, byte [ebx + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x462d4f
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x91
mov ecx, esi
call fcn.00433810
add esp, 0xc
jmp 0x462d81
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x91
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 + 0x10]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ebx
test ebx, ebx
jne 0x462a13
mov ecx, dword [edx + 0x48]
mov edx, dword [edx]
add ecx, 0x38
push 0
call fcn.00417e50
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x46300c
nop dword [eax]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], 0
test eax, eax
je 0x462df1
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, ebx
push eax
call fcn.00462880
add esp, 8
test eax, eax
je 0x462ffd
cmp byte [ebx + 0x18], 0
jne 0x462e10
test dword [edi + 0x1c], 0x80000
jne 0x462e10
cmp dword [esi + 0x78], 0
jne 0x462e10
cmp byte [esi + 0x14], 0
je 0x462ffd
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
push ebx
call fcn.004610b0
add esp, 0xc
test eax, eax
je 0x462e47
cmp dword [esp + 0x34], 0
je 0x46300c
cmp byte [edi + 0x49], 0
jne 0x46300c
jmp 0x462ffd
push 0
push 0x58
mov ecx, edi
call fcn.004138a0
mov esi, dword [esp + 0x1c]
mov edi, eax
add esp, 8
test edi, edi
je 0x462f65
push 0x50
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call fcn.004e0850
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0x38], 0xffffffff
cmp byte [eax + 0x49], 0
je 0x462ea1
mov edx, edi
mov edi, eax
mov ecx, edi
call fcn.0045a720
jmp 0x462f69
mov eax, dword [edi]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
lea eax, [eax + eax*4]
add eax, eax
mov dword [edi + eax*8 - 0x40], 0
mov dword [edi + eax*8 - 0x44], 0
mov eax, dword [ebx]
mov dword [edi + 0x18], eax
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
inc dword [eax + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x38], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x462efe
push 0xffffffffffffffff
push eax
push esi
push ebx
push edx
push dword [esp + 0x20]
mov edx, edi
call fcn.00461f40
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x20]
cmp dword [ebp + 8], 0
je 0x462f4f
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push esi
setne al
push ebx
push edx
push dword [esp + 0x20]
movzx eax, byte [eax + ebx + 0x19]
mov edx, edi
mov dword [esp + 0x50], eax
call fcn.00461f40
add esp, 0x18
cmp byte [ebx + 0x18], 0
jne 0x462f4f
mov eax, dword [esp + 0x38]
cmp eax, 9
je 0x462f4f
cmp eax, 7
je 0x462f4f
mov ecx, dword [esp + 0x10]
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 + 0x2c]
mov ecx, edi
call fcn.0045a720
jmp 0x462f69
mov edi, dword [esp + 0x2c]
test esi, esi
je 0x462ffd
cmp dword [edi + 0x1d0], 0
je 0x462f85
mov edx, esi
mov ecx, edi
call fcn.00413520
jmp 0x462ffd
cmp esi, dword [edi + 0x128]
jb 0x462fa5
cmp esi, dword [edi + 0x12c]
jae 0x462fa5
mov eax, dword [edi + 0x124]
mov dword [esi], eax
mov dword [edi + 0x124], esi
jmp 0x462ffd
cmp dword [0x557318], 0
je 0x462ff3
mov eax, dword [0x55af08]
test eax, eax
je 0x462fc1
push eax
call dword [0x557374]
add esp, 4
push esi
call dword [0x557350]
sub dword [0x55af40], eax
add esp, 4
dec dword [0x55af64]
push esi
call dword [0x557348]
mov eax, dword [0x55af08]
add esp, 4
test eax, eax
je 0x462ffd
push eax
call dword [0x55737c]
jmp 0x462ffa
push esi
call dword [0x557348]
add esp, 4
mov ebx, dword [ebx + 0xc]
mov esi, dword [esp + 0x10]
test ebx, ebx
jne 0x462dc0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004d7fbc
mov esp, ebp
pop ebp
ret