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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x6c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov ecx, ebx
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*4]
lea esi, [edi + eax*2]
lea eax, [ebx - 0xa]
push eax
push esi
push edi
call fcn.00453240
add esp, 0xc
cmp edi, esi
lea ebx, [esi + 0xa]
mov ecx, esi
mov dword [esp + 0x14], ebx
jae 0x45369c
add esi, 0xfffffff6
lea ecx, [ecx]
mov di, word [esi]
mov bp, word [ecx]
cmp di, bp
jne 0x453673
mov dx, word [esi + 2]
cmp dx, word [esi + 0xc]
setb al
test al, al
jne 0x45369c
cmp bp, di
jne 0x453687
mov ax, word [esi + 0xc]
cmp ax, word [esi + 2]
setb al
test al, al
jne 0x45369c
mov eax, dword [esp + 0x74]
sub ecx, 0xa
sub esi, 0xa
cmp eax, ecx
jb 0x453660
mov edi, dword [esp + 0x78]
cmp ebx, edi
jae 0x4536dd
mov dx, word [ecx]
mov si, word [ebx]
cmp si, dx
jne 0x4536b7
mov ax, word [ebx + 2]
cmp ax, word [ecx + 2]
setb al
test al, al
jne 0x4536d9
cmp dx, si
jne 0x4536cb
mov ax, word [ecx + 2]
cmp ax, word [ebx + 2]
setb al
test al, al
jne 0x4536d9
add ebx, 0xa
cmp ebx, edi
jb 0x4536a7
mov dword [esp + 0x14], ebx
mov esi, ecx
mov edx, ebx
mov dword [esp + 0x10], esi
cmp edx, dword [esp + 0x78]
jae 0x45376e
nop
mov si, word [ecx]
mov di, word [edx]
cmp si, di
jne 0x453703
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
setb al
test al, al
jne 0x45375f
cmp di, si
jne 0x453717
mov ax, word [edx + 2]
cmp ax, word [ecx + 2]
setb al
test al, al
jne 0x45376a
mov eax, ebx
add ebx, 0xa
mov dword [esp + 0x14], ebx
mov ebx, eax
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov bx, word [ebx + 8]
mov word [esp + 0x68], bx
mov ebx, edx
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov bx, word [ebx + 8]
mov word [eax + 8], bx
mov ebx, dword [esp + 0x14]
mov eax, edx
mov dword [eax], esi
mov si, word [esp + 0x68]
mov dword [eax + 4], edi
mov word [eax + 8], si
mov eax, dword [esp + 0x78]
add edx, 0xa
cmp edx, eax
jb 0x4536f0
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x74]
jbe 0x453815
add esi, 0xfffffff6
jmp 0x453780
mov di, word [esi]
mov bp, word [ecx]
cmp di, bp
jne 0x453793
mov ax, word [esi + 2]
cmp ax, word [ecx + 2]
setb al
test al, al
jne 0x4537f3
cmp bp, di
jne 0x4537a7
mov ax, word [ecx + 2]
cmp ax, word [esi + 2]
setb al
test al, al
jne 0x45380d
sub ecx, 0xa
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [edi + 4]
mov di, word [edi + 8]
mov word [esp + 0x50], di
mov dword [esp + 0x4c], ebx
mov edi, esi
mov ebp, dword [edi]
mov ebx, ecx
mov dword [ebx], ebp
mov ebp, dword [edi + 4]
mov dword [ebx + 4], ebp
mov di, word [edi + 8]
mov word [ebx + 8], di
mov ebx, dword [esp + 0x14]
mov edi, esi
mov dword [edi], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], eax
mov ax, word [esp + 0x50]
mov word [edi + 8], ax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x74]
sub eax, 0xa
sub esi, 0xa
cmp edi, eax
mov dword [esp + 0x10], eax
jb 0x453780
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
jne 0x4538c5
cmp edx, eax
je 0x4539c3
cmp ebx, edx
je 0x453869
mov esi, ecx
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov si, word [esi + 8]
mov word [esp + 0x5c], si
mov dword [esp + 0x58], edi
mov esi, ebx
mov ebp, dword [esi]
mov edi, ecx
mov dword [edi], ebp
mov ebp, dword [esi + 4]
mov dword [edi + 4], ebp
mov si, word [esi + 8]
mov word [edi + 8], si
mov esi, ebx
mov dword [esi], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 4], eax
mov ax, word [esp + 0x5c]
mov word [esi + 8], ax
mov esi, ecx
mov edi, esi
mov ebp, dword [edi]
mov dword [esp + 0x18], ebp
mov ebp, dword [edi + 4]
mov di, word [edi + 8]
mov eax, edx
mov word [esp + 0x20], di
mov dword [esp + 0x1c], ebp
mov edi, eax
mov ebp, dword [edi]
mov dword [esi], ebp
mov ebp, dword [edi + 4]
mov dword [esi + 4], ebp
mov di, word [edi + 8]
mov word [esi + 8], di
mov esi, dword [esp + 0x18]
mov dword [eax], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + 4], esi
mov si, word [esp + 0x20]
add ebx, 0xa
add edx, 0xa
mov word [eax + 8], si
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
add ecx, 0xa
jmp 0x4536e5
sub esi, 0xa
cmp edx, eax
mov dword [esp + 0x10], esi
jne 0x453973
sub ecx, 0xa
cmp esi, ecx
je 0x453921
mov eax, esi
mov edi, dword [eax]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 4]
mov ax, word [eax + 8]
mov word [esp + 0x2c], ax
mov dword [esp + 0x28], edi
mov eax, ecx
mov ebp, dword [eax]
mov edi, esi
mov dword [edi], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov ax, word [eax + 8]
mov word [edi + 8], ax
mov edi, dword [esp + 0x24]
mov eax, ecx
mov dword [eax], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 4], edi
mov di, word [esp + 0x2c]
mov word [eax + 8], di
mov eax, ecx
mov edi, dword [eax]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 4]
mov ax, word [eax + 8]
mov word [esp + 0x38], ax
sub ebx, 0xa
mov dword [esp + 0x34], edi
mov eax, ebx
mov ebp, dword [eax]
mov edi, ecx
mov dword [edi], ebp
mov ebp, dword [eax + 4]
mov dword [edi + 4], ebp
mov ax, word [eax + 8]
mov word [edi + 8], ax
mov edi, dword [esp + 0x30]
mov eax, ebx
mov dword [eax], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], edi
mov di, word [esp + 0x38]
mov dword [esp + 0x14], ebx
mov word [eax + 8], di
jmp 0x4536e5
mov eax, edx
mov esi, eax
mov edi, dword [esi]
mov dword [esp + 0x3c], edi
mov edi, dword [esi + 4]
mov si, word [esi + 8]
mov word [esp + 0x44], si
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], edi
mov edi, esi
mov ebp, dword [edi]
mov dword [eax], ebp
mov ebp, dword [edi + 4]
mov dword [eax + 4], ebp
mov di, word [edi + 8]
mov word [eax + 8], di
mov eax, dword [esp + 0x3c]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 4], eax
mov ax, word [esp + 0x44]
add edx, 0xa
mov word [esi + 8], ax
jmp 0x4536e5
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword [eax + 4], ebx
mov dword [eax], ecx
pop ebx
add esp, 0x5c
ret