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

Disassembly:
mov eax, dword [esp + 0x2c]
cmp ebx, dword [esp + 0x7c]
jg 0x45ab58
cmp edi, eax
jl 0x45a926
mov eax, dword [esp + 0x10]
cmp edi, eax
mov edi, dword [esp + 0x24]
jge 0x45a830
mov ecx, eax
mov eax, dword [esp + 0x38]
sub edi, ecx
add edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.0045979c
push eax
push ebx
mov ecx, esi
call fcn.0045995c
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x74]
mov dword [esp + 0x20], eax
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x1d0]
push edx
push eax
mov dword [esp + 0x24], ebp
call dword [0x4b1588]
mov edx, dword [esp + 0x1d0]
mov ecx, dword [esp + 0x1cc]
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0x1e0], edx
mov dword [esp + 0x1dc], ecx
mov ecx, dword [esp + 0x1d8]
lea edx, [esp + 0x1dc]
mov dword [esp + 0x1e4], eax
push edx
mov dword [esp + 0x1ec], ecx
call dword [0x4b15c8]
test eax, eax
jne 0x45a922
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xb0]
push eax
push edi
call fcn.00456f3c
lea ecx, [esp + 0x90]
add byte [eax], al
invalid
test ecx, ecx
je 0x45a8ee
mov eax, dword [esp + 0x94]
cmp eax, ebp
je 0x45a8ee
mov edx, dword [esp + 0xc0]
push eax
push edx
call dword [0x4b1064]
push ebp
lea ecx, [esp + 0xc0]
call 0x4c6d51
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0x14]
push 0x825
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xcc]
call dword [eax + 0x68]
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0xc0]
call 0x4c6bbd
mov edx, dword [esp + 0x2c]
lea eax, [edx - 1]
cmp edi, eax
jne 0x45aa4b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
jl 0x45aa42
mov edx, dword [esp + 0xc4]
mov eax, 1
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [0x4b10b4]
lea eax, [esp + 0x138]
lea ecx, [esp + 0xbc]
push eax
call 0x4c6bbd
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x30]
push ebx
lea edx, [esp + 0x22c]
push ecx
push edx
lea ecx, [esp + 0xc8]
call 0x4c70ae
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
push edx
push eax
lea ecx, [esp + 0xc4]
call 0x4c70fa
lea ecx, [esp + 0x110]
push ecx
lea ecx, [esp + 0xc0]
call 0x4c6bbd
push ebx
lea edx, [esp + 0x23c]
push ebp
push edx
lea ecx, [esp + 0xc8]
call 0x4c70ae
push ebp
push ebp
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov eax, dword [esp + 0x3c]
push ebp
push eax
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov ecx, dword [esp + 0x3c]
push ebx
push ecx
lea ecx, [esp + 0xc4]
call 0x4c70fa
push ebx
push ebp
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov ebx, dword [esp + 0x3c]
jmp 0x45ab47
mov ecx, dword [esp + 0x10]
mov eax, edi
cmp edi, ecx
jge 0x45aa5d
sub eax, ecx
mov ecx, dword [esp + 0x38]
add eax, ecx
push eax
mov ecx, esi
call fcn.0045979c
push eax
push ebx
mov ecx, esi
call fcn.0045995c
mov edi, eax
mov eax, dword [esp + 0x74]
cmp edi, eax
jl 0x45ab41
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x30]
push 1
push edx
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
call dword [0x4b10b0]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xc4]
inc ecx
push 1
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [0x4b10b4]
lea eax, [esp + 0x138]
lea ecx, [esp + 0xbc]
push eax
call 0x4c6bbd
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x244]
push edx
push eax
lea ecx, [esp + 0xc8]
call 0x4c70ae
mov ecx, dword [esp + 0x30]
push ebp
push ecx
lea ecx, [esp + 0xc4]
call 0x4c70fa
lea edx, [esp + 0x110]
lea ecx, [esp + 0xbc]
push edx
call 0x4c6bbd
push ebp
push edi
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0xbc]
push eax
push edi
call 0x4c70fa
mov ecx, dword [esp + 0x40]
push ecx
push ebx
lea ecx, [esp + 0xc4]
call 0x4c70fa
mov ebx, edi
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
mov dword [esp + 0x24], edi
jl 0x45a804
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x3c]
cmp edx, eax
jg 0x45ae38
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x40]
sub ebx, ecx
cmp ebx, eax
mov dword [esp + 0x24], ebx
jge 0x45ae38
jmp 0x45ab8e