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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
push esi
push edi
mov eax, dword [ebp + 0x3c]
mov byte [esp + 0x13], 0
add eax, ebp
mov edi, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
cmp edi, ecx
lea esi, [eax + edi]
mov dword [esp + 0x24], esi
jae 0x45ccea
lea edx, [edi + 0x28]
cmp edx, ecx
jae 0x45ccea
cmp eax, ecx
jae 0x45ccea
cmp esi, ecx
jae 0x45ccea
mov ecx, dword [edi + ebp + 0x14]
mov edx, dword [edi + ebp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edi + ebp + 0x20]
cmp ecx, edi
mov dword [esp + 0x14], edx
jb 0x45ccea
shl edx, 2
lea ebx, [edx + ecx]
cmp ebx, esi
jae 0x45ccea
cmp edx, eax
jae 0x45ccea
mov edx, dword [edi + ebp + 0x24]
cmp edx, edi
jb 0x45ccea
mov eax, dword [esp + 0x14]
lea eax, [edx + eax*2]
cmp eax, esi
jae 0x45ccea
mov eax, dword [edi + ebp + 0x1c]
cmp eax, edi
jb 0x45ccea
mov ebx, dword [esp + 0x1c]
lea ebx, [eax + ebx*4]
cmp ebx, esi
jae 0x45ccea
add eax, ebp
add ecx, ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
add edx, ebp
xor ebx, ebx
test eax, eax
jbe 0x45ccea
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], ecx
jmp 0x45caf7
mov esi, dword [esp + 0x24]
mov eax, dword [ecx]
cmp eax, edi
jb 0x45cb5b
cmp eax, esi
jae 0x45cb5b
mov esi, dword [esp + 0x78]
add eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x45cb2b
test cl, cl
je 0x45cb27
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x45cb2b
add eax, 2
add esi, 2
test cl, cl
jne 0x45cb07
xor eax, eax
jmp 0x45cb30
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x45cb5b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x1c]
mov ax, word [eax]
and eax, 0xffff
cmp eax, ecx
jae 0x45cb5b
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x74]
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x45cb8a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x14]
inc ebx
add ecx, 4
add edx, 2
cmp ebx, eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x70], edx
jb 0x45caf3
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
cmp eax, edi
jb 0x45ccd2
cmp eax, dword [esp + 0x24]
jae 0x45ccd2
add eax, ebp
push 0x2e
push eax
call dword [0x4b2694]
add esp, 8
test eax, eax
je 0x45ccea
mov cl, byte [eax + 1]
lea ebx, [eax + 1]
test cl, cl
je 0x45ccea
mov esi, dword [esp + 0x18]
mov edi, 0x4ef69c
sub eax, esi
or ecx, 0xffffffff
mov edx, eax
xor eax, eax
sub edx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x40
sub eax, ecx
cmp edx, eax
jae 0x45ccea
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
add esi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
lea edi, [esp + 0x2c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4ef69c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + edx + 0x30]
mov edx, ecx
mov esi, 0x4ef69c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x2c]
and ecx, 3
lea edx, [esp + 0x78]
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x84]
push esi
lea ecx, [esp + 0x78]
push eax
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
push edi
call fcn.0045c700
add esp, 0x1c
cmp al, 1
jne 0x45ccea
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x78]
push esi
lea edx, [esp + 0x20]
push edi
push edx
push ebx
push eax
push ecx
call fcn.0045ca20
add esp, 0x1c
cmp al, 1
jne 0x45ccb8
mov eax, dword [esp + 0x78]
test eax, eax
jne 0x45cca0
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x28]
mov dword [edx], eax
jmp 0x45cca9
mov ecx, dword [esp + 0x88]
mov dword [ecx], eax
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x13], 1
mov dword [edx], eax
mov ecx, dword [esp + 0x74]
push ecx
call dword [0x4b2654]
mov al, byte [esp + 0x17]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
mov edx, dword [esp + 0x88]
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x13], 1
mov dword [edx], 0
mov dword [ecx], eax
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret