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

Disassembly:
mov ebx, dword [esp + 0x24]
xor ebp, ebp
cmp edi, dword [esp + 0x80]
jg 0x45ae38
mov eax, dword [esp + 0x28]
cmp ebx, eax
jge 0x45abab
sub ebx, eax
mov eax, dword [esp + 0x58]
add ebx, eax
push ebx
mov ecx, esi
call fcn.004596bc
push eax
push edi
mov ecx, esi
call fcn.00459a8c
mov ebp, eax
mov eax, dword [esp + 0x78]
cmp ebp, eax
jl 0x45ae1f
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
cmp eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ebp
jne 0x45acb5
lea ecx, [esp + 0x74]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call dword [0x4b1588]
lea ecx, [esp + 0x14]
push ecx
call dword [0x4b15c8]
test eax, eax
jne 0x45ae1f
lea edx, [esp + 0x174]
lea ecx, [esp + 0xbc]
push edx
call 0x4c6bbd
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
sub eax, edx
sub ecx, edi
push 0xf00021
push eax
mov eax, dword [esp + 0xc8]
push ecx
push edx
push edi
push eax
call dword [0x4b1070]
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x14]
push 2
push ecx
push edx
call dword [0x4b10b0]
lea eax, [esp + 0x14]
push eax
call dword [0x4b111c]
push eax
lea ecx, [esp + 0x4c]
call 0x4c7569
mov edi, dword [esp + 0x4c]
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
neg eax
sbb eax, eax
push 4
and eax, edi
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [0x4b107c]
lea ecx, [esp + 0x48]
call 0x4c75c0
jmp 0x45ae1f
mov edx, dword [esp + 0xc4]
lea ecx, [esp + 0x30]
push 1
push ecx
push edx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], edi
call dword [0x4b10b0]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0xc4]
inc eax
push 1
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push ecx
call dword [0x4b10b4]
lea edx, [esp + 0x138]
lea ecx, [esp + 0xbc]
push edx
call 0x4c6bbd
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x230]
push eax
push 0
push ecx
lea ecx, [esp + 0xc8]
call 0x4c70ae
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
mov edx, dword [esp + 0x3c]
push ebp
push edx
lea ecx, [esp + 0xc4]
call 0x4c70fa
push ebp
push 0
lea ecx, [esp + 0xc4]
call 0x4c70fa
push edi
push 0
lea ecx, [esp + 0xc4]
call 0x4c70fa
inc ebx
lea eax, [esp + 0x248]
push ebx
push 0x5b2d94
push eax
call dword [0x4b163c]
lea ecx, [esp + 0x9c]
add esp, 0xc
test ecx, ecx
je 0x45adba
mov eax, dword [esp + 0x94]
test eax, eax
je 0x45adba
mov edx, dword [esp + 0xc0]
push eax
push edx
call dword [0x4b1064]
push 0
lea ecx, [esp + 0xc0]
call 0x4c6d51
lea eax, [esp + 0x248]
lea ecx, [esp + 0x158]
push eax
call 0x4c0827
mov eax, dword [esp + 0x158]
lea edx, [esp + 0x14]
push 0x825
push edx
mov ecx, dword [eax - 8]
mov byte [esp + 0x28c], 0x12
push ecx
push eax
mov eax, dword [esp + 0xcc]
lea ecx, [esp + 0xcc]
call dword [eax + 0x68]
lea ecx, [esp + 0x158]
mov byte [esp + 0x284], 0x10
call 0x4c07b9
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x64]
inc eax
mov edi, ebp
cmp eax, ecx
mov dword [esp + 0x24], eax
jl 0x45ab88
xor ebp, ebp
mov ebx, dword [esp + 0x40]
jmp 0x45afb6
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x16c]
mov dword [esp + 0x90], ebx
call fcn.0045955c
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x184]
call fcn.0045955c
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x64]
sub edi, ecx
cmp edi, eax
mov dword [esp + 0x24], edi
jge 0x45b46b
jmp 0x45aff9
cmp ebx, dword [esp + 0x80]
jg 0x45b46b
mov eax, dword [esp + 0x28]
mov ebp, edi
cmp edi, eax
jge 0x45b018
sub ebp, eax
mov eax, dword [esp + 0x58]
add ebp, eax
push ebp
mov ecx, esi
mov dword [esp + 0x60], ebp
call fcn.004596bc
push eax
push ebx
mov ecx, esi
call fcn.00459a8c
mov ecx, eax
mov eax, dword [esp + 0x78]
cmp ecx, eax
mov dword [esp + 0x1ac], ecx
jl 0x45b44f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x44]
sub eax, ebx
cmp eax, edx
mov dword [esp + 0x2c], eax
jge 0x45b44f
mov ecx, dword [esp + 0x10]
jmp 0x45b079
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jge 0x45b085
mov edx, dword [esp + 0x38]
sub eax, ecx
add eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
cmp ebp, edx
jge 0x45b0a4
cmp eax, ecx
jge 0x45b09b
lea eax, [esp + 0x74]
jmp 0x45b0b6
lea eax, [esp + 0x118]
jmp 0x45b0b6
cmp eax, ecx
lea eax, [esp + 0x128]
jl 0x45b0b6
lea eax, [esp + 0x98]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov dword [esp + 0x198], ecx
mov ecx, dword [eax + 8]
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x1a0], ecx
push 0
mov dword [esp + 0x1a0], edx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x90]
push edi
lea ecx, [esp + 0x1f4]
push ebp
push ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x94], eax
call fcn.00456f9c
lea ecx, [esp + 0x1ec]
call fcn.00458cdc
test eax, 0x3c0000
je 0x45b27b
lea ecx, [esp + 0x1ec]
call fcn.00458cdc
test eax, 0x40000
je 0x45b187
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x50]
dec edi
push 0
push edi
lea eax, [esp + 0x1f4]
push edx
push eax
call fcn.00456f9c
push edi
mov ecx, esi
call fcn.0045979c
mov ecx, dword [esp + 0x84]
neg eax
push eax
push ecx
mov ecx, esi
call fcn.0045995c
lea ecx, [esp + 0x1ec]
mov dword [esp + 0x84], eax
call fcn.00458cdc
test eax, 0x40000
jne 0x45b139
lea ecx, [esp + 0x1ec]
call fcn.00458cdc
test eax, 0x80000
je 0x45b1d8
mov ecx, dword [esp + 0x50]
dec ebp
push 0
push edi
lea edx, [esp + 0x1f4]
push ebp
push edx
call fcn.00456f9c
push ebp
mov ecx, esi
call fcn.004596bc
neg eax
push eax
push ebx
mov ecx, esi
call fcn.00459a8c
lea ecx, [esp + 0x1ec]
mov ebx, eax
call fcn.00458cdc
test eax, 0x80000
jne 0x45b19a
mov edx, dword [esp + 0x168]
mov dword [esp + 0x140], 0
test edx, edx
jle 0x45b22b
mov eax, dword [esp + 0x17c]
mov ecx, dword [esp + 0x164]
sub ecx, eax
mov dword [esp + 0x70], ecx
jmp 0x45b208
mov ecx, dword [esp + 0x70]
cmp dword [ecx + eax], ebp
jne 0x45b215
cmp dword [eax], edi
je 0x45b2a9
mov ecx, dword [esp + 0x140]
add eax, 4
inc ecx
cmp ecx, edx
mov dword [esp + 0x140], ecx
jl 0x45b204
cmp ebp, 0xffffffff
je 0x45b27b
mov dword [esp + 0x70], edx
inc edx
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x16c]
call fcn.0045955c
mov eax, dword [esp + 0x164]
mov ecx, dword [esp + 0x70]
push 0xffffffffffffffff
mov dword [eax + ecx*4], ebp
mov eax, dword [esp + 0x184]
mov dword [esp + 0x74], eax
inc eax
push eax
lea ecx, [esp + 0x184]
call fcn.0045955c
mov edx, dword [esp + 0x17c]
mov eax, dword [esp + 0x70]
mov dword [edx + eax*4], edi
cmp dword [esp + 0x54], 2
jne 0x45b2d5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x5c]
cmp eax, ecx
jge 0x45b2ae
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
xor eax, eax
cmp ecx, edx
setl al
dec eax
lea ecx, [esp + 0x150]
and eax, ecx
jmp 0x45b2c8
or ebp, 0xffffffff
jmp 0x45b27b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x60]
cmp eax, edx
lea eax, [esp + 0x15c]
jl 0x45b2c8
lea eax, [esp + 0x148]
push eax
lea ecx, [esp + 0xc0]
call 0x4c6fea
cmp ebp, 0xffffffff
je 0x45b3bf
cmp dword [esp + 0x54], 1
jne 0x45b399
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x198]
push eax
push ecx
push 0x20
push edi
push ebp
push ebx
lea eax, [esp + 0xd4]
push edx
push eax
mov ecx, esi
call fcn.0045c93c
lea ecx, [esp + 0x198]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call dword [0x4b1588]
lea ecx, [esp + 0x14]
push ecx
call dword [0x4b15c8]
test eax, eax
jne 0x45b40c
mov eax, dword [esp + 0xc4]
lea edx, [esp + 0x14]
push 2
push edx
push eax
call dword [0x4b10b0]
lea ecx, [esp + 0x14]
push ecx
call dword [0x4b111c]
push eax
lea ecx, [esp + 0x4c]
call 0x4c7569
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x68]
neg eax
sbb eax, eax
push 4
and eax, ebp
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
push ecx
push edx
call dword [0x4b107c]
lea ecx, [esp + 0x48]
call 0x4c75c0
jmp 0x45b40c
mov eax, dword [esp + 0x84]
lea edx, [esp + 0x198]
push 0
push edx
push 1
push edi
push ebp
push ebx
lea ecx, [esp + 0xd4]
push eax
push ecx
mov ecx, esi
call fcn.0045c93c
cmp dword [esp + 0x54], 2
jne 0x45b40c
mov eax, dword [esp + 0x144]
mov ecx, dword [esp + 0x60]
dec eax
lea edx, [esp + 0x198]
neg eax
sbb eax, eax
push 0
and eax, 6
push edx
mov edx, dword [esp + 0x64]
add eax, 0x18
push eax
mov eax, dword [esp + 0x94]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push eax
lea edx, [esp + 0xd4]
push ecx
push edx
mov ecx, esi
call fcn.0045c93c
mov eax, dword [esp + 0x60]
mov ecx, esi
push eax
call fcn.0045979c
mov ecx, dword [esp + 0x8c]
push eax
push ecx
mov ecx, esi
call fcn.0045995c
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
invalid
invalid