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

Disassembly:
push ebx
push esi
push edi
push ebp
sub esp, 0x58
mov ebp, ecx
lea ecx, [esp + 0x28]
call fcn.00408370
mov dword [esp + 0x34], 0
lea eax, [ebp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0040bbd0
mov ax, word [ebp + 0x1c]
mov word [esp + 0x30], ax
mov dword [esp + 0x10], 0
mov edi, dword [ebp + 0x780]
cmp dword [esp + 0x6c], 0
je 0x45d690
mov byte [ebp + 0x779], 1
mov dx, word [ebp + 8]
mov word [esp + 0x20], dx
mov ax, word [ebp + 0xa]
mov word [esp + 0x22], ax
mov si, word [ebp + 0xc]
mov word [esp + 0x24], si
mov ax, word [ebp + 0xe]
mov word [esp + 0x26], ax
mov ecx, ebp
call fcn.0045d210
add eax, dword [esp + 0x20]
inc eax
mov word [esp + 0x24], ax
mov ecx, dword [ebp + 0x8e8]
cmp byte [ecx + 0x3c], 0
jne 0x45d3a2
push 1
mov ebx, dword [ecx]
call dword [ebx + 0xe0]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x8d0]
dec eax
add word [esp + 0x38], ax
mov ax, word [ebp + 0x8d4]
add word [esp + 0x3a], ax
mov ax, word [ebp + 0x8dc]
sub word [esp + 0x3e], ax
mov eax, dword [ebp + 0x8d8]
dec eax
sub word [esp + 0x24], ax
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, dword [ebp + 0x8e8]
mov esi, dword [ecx]
call dword [esi + 0x9c]
jmp 0x45d3ae
mov eax, dword [ebp + 0x8d0]
dec eax
add word [esp + 0x20], ax
mov ax, word [ebp + 0x8c8]
sub word [esp + 0x22], ax
or dword [esp + 0x18], 0xffffffff
cmp dword [esp + 0x6c], 0xffffffff
jl 0x45d67c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
add dword [esp + 0x1c], 0xfffffffc
cmp dword [esp + 0x18], 0xffffffff
jle 0x45d410
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x6c]
jge 0x45d410
push eax
mov ecx, ebp
call fcn.0045f280
add eax, dword [esp + 0x22]
mov word [esp + 0x26], ax
push dword [esp + 0x1c]
lea ecx, [esp + 0x38]
call fcn.0040bbd0
xor bl, bl
jmp 0x45d49a
cmp dword [esp + 0x18], 0
jge 0x45d430
mov eax, dword [esp + 0x22]
mov word [esp + 0x26], ax
mov ax, word [ebp + 0xa]
mov word [esp + 0x22], ax
jmp 0x45d445
mov ax, word [ebp + 0xe]
mov word [esp + 0x26], ax
mov ax, word [ebp + 0x8dc]
sub word [esp + 0x26], ax
mov dword [esp + 0x40], 0
push 0x4c9228
call fcn.0040ca30
pop ecx
push eax
push 0x4c9228
lea ecx, [esp + 0x48]
call fcn.0040bb00
cmp dword [esp + 0x40], 0
je 0x45d47a
mov edx, dword [esp + 0x40]
mov eax, dword [0x4bf2dc]
mov dword [edx + 0x10], eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.0040bbd0
cmp dword [esp + 0x40], 0
je 0x45d498
mov ecx, dword [esp + 0x40]
call fcn.0040b9e0
mov bl, 1
test edi, edi
je 0x45d530
mov byte [edi + 0x14], bl
mov ecx, dword [edi + 8]
add ecx, 0x78
call fcn.0040bb90
push eax
lea ecx, [esp + 0x38]
call fcn.0040bb90
push eax
call fcn.0040ca90
pop ecx
pop ecx
test eax, eax
jne 0x45d4d0
xor al, al
jmp 0x45d4d2
mov al, 1
test al, al
je 0x45d506
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], eax
test eax, eax
je 0x45d4e9
mov ecx, eax
call fcn.0040b9a0
lea eax, [esp + 0x44]
push eax
mov ecx, dword [edi + 8]
call fcn.00402740
cmp dword [esp + 0x44], 0
je 0x45d506
mov ecx, dword [esp + 0x44]
call fcn.0040b9e0
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, dword [edi + 8]
mov ebx, dword [ecx]
call dword [ebx + 0x9c]
mov ecx, dword [edi + 8]
call fcn.0040b130
mov dword [esp + 0x10], edi
mov edi, dword [edi + 0xc]
jmp 0x45d63a
push 0x18
call fcn.004496d0
pop ecx
mov esi, eax
test esi, esi
je 0x45d547
mov ecx, esi
call fcn.0045c690
mov esi, eax
mov byte [esi + 0x14], bl
mov dword [esi + 0x10], ebp
mov byte [esp + 8], 0
xor bl, bl
push 0x84
call fcn.004496d0
pop ecx
mov dword [esp + 0xc], eax
test eax, eax
je 0x45d5dc
lea ebx, [esp + 0x4c]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x45d57e
mov ecx, dword [ebx]
call fcn.0040b9a0
mov cl, byte [esp + 0x2c]
mov byte [ebx + 4], cl
mov al, byte [esp + 0x2d]
mov byte [ebx + 5], al
mov dl, byte [esp + 0x2e]
mov byte [ebx + 6], dl
mov eax, dword [esp + 0x30]
mov word [ebx + 8], ax
mov bl, 1
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
test eax, eax
je 0x45d5b0
mov ecx, eax
call fcn.0040b9a0
mov byte [esp + 8], 1
push 1
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x2c]
push dword [esp + 0x2c]
mov eax, dword [ebp + 0x38]
push eax
push ebp
lea eax, [esp + 0x64]
push eax
push esi
mov ecx, dword [esp + 0x2c]
call fcn.00401850
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
test bl, bl
je 0x45d5f7
cmp dword [esp + 0x4c], 0
je 0x45d5f7
mov ecx, dword [esp + 0x4c]
call fcn.0040b9e0
cmp byte [esp + 8], 0
je 0x45d60e
cmp dword [esp + 0x48], 0
je 0x45d60e
mov ecx, dword [esp + 0x48]
call fcn.0040b9e0
mov eax, dword [ebp + 0x8e8]
push eax
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
call dword [ebx + 0x154]
cmp dword [esp + 0x10], 0
je 0x45d630
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], esi
jmp 0x45d636
mov dword [ebp + 0x780], esi
mov dword [esp + 0x10], esi
mov eax, dword [esp + 0x26]
mov word [esp + 0x22], ax
add dword [esp + 0x1c], 4
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x6c]
jle 0x45d3d7
jmp 0x45d67c
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], edx
mov ecx, dword [esi + 8]
mov ebx, dword [ecx]
call dword [ebx + 0xd0]
push esi
call fcn.004496f0
pop ecx
mov eax, dword [esp + 0x10]
mov esi, dword [eax + 0xc]
test esi, esi
jne 0x45d660
jmp 0x45d6a7
mov byte [ebp + 0x779], 0
push 0
mov ecx, dword [ebp + 0x8e8]
mov esi, dword [ecx]
call dword [esi + 0xe0]
mov ecx, ebp
mov ebx, dword [ecx]
call dword [ebx + 0x17c]
cmp dword [esp + 0x34], 0
je 0x45d6c1
mov ecx, dword [esp + 0x34]
call fcn.0040b9e0
cmp dword [esp + 0x28], 0
je 0x45d6d1
mov ecx, dword [esp + 0x28]
call fcn.0040b9e0
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret 8