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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x24], eax
cmp dword [ebx + 0x40], edi
jne 0x45b818
cmp byte [eax + 0x41], 0
jne 0x45b818
mov ecx, dword [ebp + 0xc]
mov esi, ebx
call fcn.0045acc0
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x45b818
push edi
mov esi, eax
push edi
push 0x6d
mov edx, esi
mov eax, ebx
call fcn.00477ae0
mov dword [esp + 0x6c], eax
xor eax, eax
add esp, 0xc
cmp dword [esi + 0xc], eax
mov edi, ebx
setne al
mov dword [esp + 0x48], eax
mov eax, esi
call fcn.00456780
test eax, eax
jne 0x45b818
xor ecx, ecx
cmp dword [esp + 0x60], ecx
setne cl
push ecx
mov ecx, esi
call fcn.0045adb0
add esp, 4
test eax, eax
jne 0x45b818
mov ecx, dword [esp + 0x24]
mov edi, esi
mov esi, dword [edi + 0x40]
call fcn.0046ad20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
add eax, eax
mov eax, dword [ecx + eax*8]
push eax
push 0
push edx
push 9
mov eax, ebx
call fcn.00453380
add esp, 0x10
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x45b818
mov esi, dword [ebx + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], esi
inc dword [ebx + 0x44]
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x44]
xor edx, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x74], edx
test eax, eax
je 0x45b160
lea esp, [esp]
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x45b150
mov dword [esp + 0x74], edx
cmp dword [esp + 0x48], 0
je 0x45b17d
mov ecx, dword [ebx + 0x1e8]
mov edx, dword [edi]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ecx
mov dword [ebx + 0x1e8], edx
mov eax, ebx
call fcn.0046e920
mov dword [esp + 0x10], eax
test eax, eax
je 0x45b818
cmp byte [ebx + 0x12], 0
jne 0x45b19a
or dword [eax + 0x58], 4
mov ecx, dword [esp + 0x1c]
push 1
mov eax, ebx
call fcn.00459520
add esp, 4
cmp dword [esp + 0x48], 0
je 0x45b1c8
mov eax, dword [ebp + 0x10]
push esi
push eax
push edi
push ebx
call fcn.0045ae40
add esp, 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea esi, [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
call fcn.00449430
test eax, eax
jne 0x45b818
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
mov esi, dword [esp + 0x10]
je 0x45b24f
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x17
mov dword [esp + 0x60], eax
call fcn.00436e20
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne 0x45b2ff
test edi, edi
jne 0x45b2ff
cmp dword [esp + 0x60], edi
jne 0x45b2ff
mov edi, dword [esp + 0x14]
test byte [edi + 0x2a], 0x10
jne 0x45b303
mov eax, dword [ebx]
test dword [eax + 0x18], 0x80000
je 0x45b296
push 0
push 0
push edi
call fcn.00461060
add esp, 0xc
test eax, eax
jne 0x45b303
mov ecx, dword [edi]
mov edx, dword [edi + 0x1c]
mov eax, dword [esp + 0x1c]
push ecx
push 1
push edx
push eax
mov eax, ebx
call fcn.00453410
add esp, 0x10
test byte [edi + 0x2a], 0x20
jne 0x45b2d1
mov ecx, dword [edi]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
push 0xfffffffffffffffe
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push eax
push ecx
push 0x77
call fcn.00436e80
add esp, 0x18
mov edi, dword [edi + 8]
test edi, edi
je 0x45b7b5
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x28]
push edx
push eax
push 0x77
call fcn.00436e20
mov edi, dword [edi + 0x14]
add esp, 0xc
test edi, edi
jne 0x45b2e0
jmp 0x45b7b5
mov edi, dword [esp + 0x14]
test byte [edi + 0x2a], 0x20
jne 0x45b333
mov eax, 1
add dword [ebx + 0x48], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x1a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x74], eax
call fcn.00436e20
add esp, 0xc
jmp 0x45b380
mov eax, edi
call fcn.00454810
mov edi, eax
movzx ecx, word [edi + 0x2e]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x34], ecx
movsx ecx, cx
lea edx, [eax + 1]
add eax, ecx
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
push ecx
mov dword [esp + 0x60], edx
push eax
lea edx, [eax + 1]
push 0x39
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov dword [ebx + 0x44], edx
call fcn.00436e20
mov dword [esp + 0x70], eax
add esp, 0xc
mov ecx, edi
mov eax, ebx
call fcn.00437770
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
inc eax
push eax
push 0xc
push 0
push 0
push ecx
push edx
push ebx
call fcn.00485da0
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x45b818
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x18], 0x80
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], eax
je 0x45b3de
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push 1
push edx
push 0x25
call fcn.00436e20
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x45b429
movsx esi, word [esp + 0x34]
xor edi, edi
test esi, esi
jle 0x45b41f
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
lea ecx, [edi + eax]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x2c]
push ecx
movsx ecx, word [eax + edi*2]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.0044cfa0
inc edi
add esp, 0x10
cmp edi, esi
jl 0x45b3f0
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
jmp 0x45b454
mov eax, dword [ebx + 0x48]
mov edx, dword [esp + 0x2c]
push 0
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov edi, ebx
call fcn.0044d0a0
add esp, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x48]
jle 0x45b454
mov ecx, eax
mov dword [ebx + 0x48], ecx
cmp dword [esp + 0x1c], 0
je 0x45b4ff
movzx edx, word [esp + 0x34]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
lea eax, [edi + 2]
cdq
push edx
push eax
call fcn.004184b0
mov esi, eax
add esp, 8
mov dword [esp + 0x58], esi
test esi, esi
jne 0x45b49a
mov eax, dword [esp + 0x3c]
push eax
call fcn.004867c0
add esp, 4
jmp 0x45b818
lea ecx, [edi + 1]
push ecx
push 1
push esi
call fcn.004f8f00
mov eax, dword [esp + 0x84]
add esp, 0xc
mov byte [edi + esi + 1], 0
test eax, eax
js 0x45b4c1
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x45b4d1
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
cmp dword [esp + 0x64], 0
je 0x45b4e8
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
call fcn.004375e0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
push 0xe
call fcn.00436d70
add esp, 4
mov dword [esp + 0x44], eax
jmp 0x45b584
cmp dword [esp + 0x20], 0
je 0x45b561
movsx eax, word [esp + 0x34]
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push eax
push ecx
mov eax, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], 0
call fcn.00462170
mov ecx, dword [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
movsx eax, word [esp + 0x40]
push eax
push ecx
push 0x31
mov esi, edi
call fcn.00436e80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
push edx
push eax
push 0x6f
call fcn.00436e20
add esp, 0x24
jmp 0x45b586
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
push ecx
push edx
push 0x81
mov dword [esp + 0x58], 1
call fcn.00436e20
add esp, 0xc
mov edi, esi
mov eax, dword [esp + 0x3c]
push eax
call fcn.004867c0
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x45b5bf
mov eax, edi
call fcn.00437110
push eax
push 0
push 0xe
mov esi, edi
mov dword [esp + 0x34], eax
call fcn.00436e20
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, edi
call fcn.00437420
cmp dword [esp + 0x48], 0
jne 0x45b5ea
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 0x37
push edx
push ebx
call fcn.00465a50
add esp, 0x1c
cmp dword [esp + 0x1c], 0
je 0x45b622
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
cmp byte [ecx + eax], 0
je 0x45b66e
movsx edx, word [esp + 0x4c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
push 0x45
mov eax, edi
call fcn.00437060
add esp, 0x14
jmp 0x45b66e
cmp dword [esp + 0x20], 0
mov esi, edi
je 0x45b651
mov eax, dword [esp + 0x38]
push eax
push 0x6d
call fcn.00436dc0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x66
mov dword [esp + 0x44], eax
call fcn.00436e20
add esp, 0x14
jmp 0x45b66e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
push eax
push 0
push ecx
push 0x82
call fcn.00436d10
add esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x2a], 0x10
je 0x45b6d0
mov esi, dword [eax + 0x38]
test esi, esi
je 0x45b68e
mov eax, dword [esp + 0x24]
cmp dword [esi], eax
je 0x45b68e
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x45b683
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.0047cae0
mov eax, dword [esp + 0x1c]
add esp, 4
push 0xfffffffffffffff6
push esi
push eax
push 1
push 0
push 0xd
mov esi, edi
call fcn.00436e80
mov eax, dword [edi + 4]
add esp, 0x18
test eax, eax
je 0x45b6c7
mov ecx, dword [edi + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 2
mov ecx, ebx
call fcn.00459590
jmp 0x45b705
cmp byte [ebx + 0x12], 0
mov edx, dword [esp + 0x1c]
push edx
push 0xa
sete cl
movzx edx, cl
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
push eax
push ebx
call fcn.0045b8b0
add esp, 0x28
cmp dword [esp + 0x1c], 0
je 0x45b71d
mov edx, dword [esp + 0x28]
push edx
mov ecx, edi
call fcn.00437160
add esp, 4
jmp 0x45b751
cmp dword [esp + 0x20], 0
mov esi, edi
je 0x45b735
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
inc eax
push eax
push ecx
push 8
jmp 0x45b73e
mov edx, dword [esp + 0x30]
push edx
push 0
push 0xe
call fcn.00436e20
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, edi
call fcn.00437420
cmp dword [esp + 0x48], 0
jne 0x45b7b5
mov eax, dword [esp + 0x14]
test byte [eax + 0x2a], 0x10
jne 0x45b7b5
cmp dword [esp + 0x20], 0
jne 0x45b77a
mov ecx, dword [esp + 0x40]
push ecx
push 0x3d
mov esi, edi
call fcn.00436dc0
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x45b7b5
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
push ecx
push 0x3d
mov esi, edi
call fcn.00436dc0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x45b791
cmp byte [ebx + 0x12], 0
jne 0x45b7cd
cmp dword [ebx + 0x19c], 0
jne 0x45b7cd
push ebx
call fcn.00462870
add esp, 4
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x45b818
cmp byte [ebx + 0x12], 0
jne 0x45b818
cmp dword [ebx + 0x19c], 0
jne 0x45b818
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push 1
push ecx
push 0x21
call fcn.00436e20
add esp, 0xc
push 1
push esi
call fcn.00438830
push 0
push 0x54fd04
push 0
push 0
mov ecx, esi
call fcn.00438900
add esp, 0x18
mov eax, dword [esp + 0x70]
test eax, eax
je 0x45b82a
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x1e8], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
push eax
mov eax, esi
call fcn.00458cd0
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push esi
call fcn.0044a550
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
je 0x45b8a0
test esi, esi
je 0x45b897
cmp dword [esi + 0x208], 0
je 0x45b86c
mov ecx, esi
call fcn.004181f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x114]
jb 0x45b897
cmp eax, dword [esi + 0x118]
jae 0x45b897
mov edx, dword [esi + 0x110]
mov dword [eax], edx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00418180
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret