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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x549944]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x18], edx
push edi
mov dword [esp + 0x10], esi
mov ebx, dword [esi]
mov al, byte [esi + 0x92]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x17], al
test dword [ebx + 0x1c], 0x4000
je 0x45a7ff
mov ecx, dword [edx + 0x48]
mov edi, 0xfff0bdc0
mov dword [esp + 0x34], edi
test ecx, ecx
je 0x45a225
mov edx, dword [ebx + 0x14]
xor edi, edi
mov dword [esp + 0x34], edi
test edx, edx
jle 0x45a221
mov eax, dword [ebx + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x45a21d
inc edi
add eax, 0x10
cmp edi, edx
jl 0x45a211
mov dword [esp + 0x34], edi
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x10]
add edi, edi
mov eax, dword [eax + edi*8]
mov edi, dword [edx + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
test edi, edi
je 0x45a5e7
jmp 0x45a244
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 0
test eax, eax
je 0x45a2af
push dword [edi + 8]
push dword [edx]
call fcn.00408320
add esp, 8
test eax, eax
je 0x45a2af
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x45a5d4
lea ecx, [edi + 0x24]
nop
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x45a2ab
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x45a29d
cmp dword [ebp + 0x14], 0
jne 0x45a2ab
inc esi
add ecx, 8
cmp esi, dword [edi + 0x14]
jl 0x45a280
jmp 0x45a5d4
mov esi, dword [esp + 0x10]
cmp byte [esi + 0x92], 0
mov eax, dword [edi + 8]
push dword [esp + 0x38]
je 0x45a2cd
mov edx, eax
mov ecx, ebx
call fcn.0044a340
add esp, 4
jmp 0x45a2da
push eax
xor edx, edx
mov ecx, esi
call fcn.0044a470
add esp, 8
mov dword [esp + 0x2c], eax
test eax, eax
je 0x45a48f
lea ecx, [esp + 0x18]
mov edx, eax
push ecx
lea ecx, [esp + 0x34]
push ecx
push edi
mov ecx, esi
call fcn.004589f0
add esp, 0xc
test eax, eax
jne 0x45a48b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45a315
mov ecx, eax
mov dword [esp + 0x3c], eax
jmp 0x45a324
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
jle 0x45a399
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x45a344
mov dword [ecx + esi*4], 0xffffffff
cmp dword [ebx + 0x130], 0
je 0x45a393
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
test eax, eax
je 0x45a362
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x45a366
movzx eax, word [edx + 0x28]
push dword [esp + 0x34]
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.00449960
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
inc esi
cmp esi, dword [edi + 0x14]
jl 0x45a330
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x34]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.00449ad0
inc dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x45a3e2
push dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x48]
push edi
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.00458d30
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x45a437
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1cc]
test eax, eax
je 0x45a415
mov eax, dword [eax]
cmp eax, dword [edi + 0x1c]
jne 0x45a40a
cmp byte [edi + 0x19], 7
je 0x45a437
cmp eax, dword [edi + 0x20]
jne 0x45a415
cmp byte [edi + 0x1a], 7
je 0x45a437
push dword [esp + 0x24]
mov ecx, esi
push 1
push edx
push dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push edi
push dword [esp + 0x44]
push dword [esp + 0x44]
call fcn.00458d30
add esp, 0x1c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x45a5d8
cmp dword [ebx + 0x1d0], 0
je 0x45a45a
mov edx, ecx
mov ecx, ebx
call fcn.004050c0
jmp 0x45a5d8
cmp ecx, dword [ebx + 0x128]
jb 0x45a47d
cmp ecx, dword [ebx + 0x12c]
jae 0x45a47d
mov eax, dword [ebx + 0x124]
mov dword [ecx], eax
mov dword [ebx + 0x124], ecx
jmp 0x45a5d8
push ecx
call fcn.00405050
add esp, 4
jmp 0x45a5d8
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x17], 0
je 0x45a7ff
cmp byte [ebx + 0x49], 0
jne 0x45a7ff
test eax, eax
jne 0x45a5d8
mov esi, dword [esi + 8]
test esi, esi
jne 0x45a4cf
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x78], esi
jne 0x45a4c8
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x45a4c8
mov byte [ecx + 0x17], 1
call fcn.00425fe0
mov esi, eax
mov eax, dword [esi + 0x88]
xor edx, edx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x24], eax
inc eax
add eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x30], eax
test ecx, ecx
jle 0x45a57c
lea ebx, [edi + 0x24]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
inc ecx
add eax, ecx
mov ecx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x45a529
push 0
push dword [esp + 0x34]
mov edx, 0x32
mov ecx, esi
push dword [esp + 0x2c]
call fcn.00426240
add esp, 0xc
jmp 0x45a55f
mov edx, dword [esp + 0x24]
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 + 0x30]
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 + 0x18]
add ebx, 8
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [edi + 0x14]
jl 0x45a4f4
mov ecx, dword [esi + 0x88]
mov ebx, dword [esp + 0x20]
jmp 0x45a580
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
movzx edx, byte [edi + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x45a5a2
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x91
mov ecx, esi
call fcn.00426240
add esp, 0xc
jmp 0x45a5d4
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 edi, dword [edi + 4]
mov edx, dword [esp + 0x1c]
test edi, edi
jne 0x45a241
mov ecx, dword [edx + 0x48]
mov edx, dword [edx]
add ecx, 0x38
push 0
call fcn.00409680
add esp, 4
mov edi, dword [eax + 8]
test edi, edi
je 0x45a7ff
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x38], 0
test eax, eax
je 0x45a635
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
mov edx, edi
push eax
call fcn.0045a0b0
add esp, 8
test eax, eax
je 0x45a7f0
cmp byte [edi + 0x18], 0
jne 0x45a654
test dword [ebx + 0x1c], 0x80000
jne 0x45a654
cmp dword [esi + 0x78], 0
jne 0x45a654
cmp byte [esi + 0x14], 0
je 0x45a7f0
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push edi
call fcn.004589f0
add esp, 0xc
test eax, eax
je 0x45a68b
cmp byte [esp + 0x17], 0
je 0x45a7ff
cmp byte [ebx + 0x49], 0
jne 0x45a7ff
jmp 0x45a7f0
push 0
push 0x58
mov ecx, ebx
call fcn.00405440
mov ebx, dword [esp + 0x40]
mov esi, eax
add esp, 8
test esi, esi
je 0x45a7a3
push 0x50
lea ecx, [esi + 8]
mov dword [esi + 4], 1
push 0
push ecx
mov dword [esi], 1
call fcn.004e8ed0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esi + 0x38], 0xffffffff
cmp byte [eax + 0x49], 0
je 0x45a6e5
mov edx, esi
mov esi, eax
mov ecx, esi
call fcn.00451220
jmp 0x45a7a7
mov eax, dword [esi]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esi + eax*8 - 0x40], 0
mov dword [esi + eax*8 - 0x44], 0
mov ecx, dword [edi]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
mov eax, dword [eax]
mov dword [esi + 0x10], eax
inc dword [ecx + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x28]
mov dword [esi + 0x38], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x45a73f
push 0xffffffffffffffff
push eax
push ebx
push edi
push edx
push dword [esp + 0x30]
mov edx, esi
call fcn.00459880
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov edx, dword [esp + 0x18]
cmp dword [ebp + 8], 0
je 0x45a78d
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push ebx
setne al
push edi
push edx
push dword [esp + 0x30]
mov al, byte [eax + edi + 0x19]
mov edx, esi
mov byte [esp + 0x43], al
call fcn.00459880
add esp, 0x18
cmp byte [edi + 0x18], 0
jne 0x45a78d
mov al, byte [esp + 0x2b]
cmp al, 9
je 0x45a78d
cmp al, 7
je 0x45a78d
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [esi + 0x10], 0
mov edx, esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00451220
jmp 0x45a7a7
mov esi, dword [esp + 0x20]
test ebx, ebx
je 0x45a7ec
cmp dword [esi + 0x1d0], 0
je 0x45a7c3
mov edx, ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.004050c0
jmp 0x45a7f0
cmp ebx, dword [esi + 0x128]
jb 0x45a7e3
cmp ebx, dword [esi + 0x12c]
jae 0x45a7e3
mov eax, dword [esi + 0x124]
mov dword [ebx], eax
mov dword [esi + 0x124], ebx
jmp 0x45a7ec
push ebx
call fcn.00405050
add esp, 4
mov ebx, dword [esp + 0x20]
mov edi, dword [edi + 0xc]
mov esi, dword [esp + 0x10]
test edi, edi
jne 0x45a604
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004e5962
mov esp, ebp
pop ebp
ret