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

Disassembly:
sub esp, 0x74
push ebx
mov ebx, dword [esp + 0x7c]
mov eax, dword [ebx]
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x54], ecx
mov ecx, dword [ecx + 4]
mov edx, dword [ecx + 0xc]
mov cl, byte [eax + 0x24]
push ebp
test cl, cl
push esi
mov esi, dword [ebx + 0x28]
setne byte [esp + 0xf]
push edi
mov edi, dword [ebx + 4]
mov ecx, edi
sar ecx, 0x1f
mov eax, ecx
mov dword [esp + 0x58], edx
xor eax, edi
sub eax, ecx
mov edx, esi
sar edx, 0x1f
mov ecx, edx
xor ecx, esi
sub ecx, edx
cmp ecx, eax
mov dword [esp + 0x44], ecx
jg 0x45a420
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x2c]
mov ebp, eax
sar ebp, 0x1f
mov edx, ebp
xor edx, eax
mov dword [esp + 0x5c], eax
sub edx, ebp
mov eax, ecx
sar eax, 0x1f
mov ebp, eax
xor ebp, ecx
sub ebp, eax
cmp ebp, edx
jle 0x45a446
mov edx, ebp
cmp edx, 0x10000
jg 0x45a45c
cmp dword [esp + 0x44], 0x10000
jle 0x45a9f3
mov ebx, dword [ebx + 4]
mov edx, ebx
sar edx, 0x1f
mov ebp, edx
mov eax, esi
sar eax, 0x1f
xor ebp, ebx
sub ebp, edx
mov edx, eax
xor edx, esi
sub edx, eax
cmp ebp, edx
mov dword [esp + 0x7c], ebx
jg 0x45a488
mov eax, esi
sar eax, 0x1f
mov edx, eax
xor edx, esi
jmp 0x45a491
mov eax, edi
sar eax, 0x1f
mov edx, eax
xor edx, edi
mov esi, dword [esp + 0x5c]
sub edx, eax
mov dword [esp + 0x48], edx
mov edx, ecx
sar edx, 0x1f
mov edi, edx
mov eax, esi
sar eax, 0x1f
xor edi, ecx
sub edi, edx
mov edx, eax
xor edx, esi
sub edx, eax
cmp edi, edx
jg 0x45a4c6
mov eax, esi
sar eax, 0x1f
mov ecx, eax
xor ecx, esi
sub ecx, eax
mov dword [esp + 0x4c], ecx
jmp 0x45a4d5
mov eax, ecx
sar eax, 0x1f
mov edx, eax
xor edx, ecx
sub edx, eax
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x54], ecx
movzx ecx, word [eax]
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ecx
je 0x45a9f3
mov bx, word [esp + 0x7c]
mov bp, word [esp + 0x7e]
mov di, word [esp + 0x80]
mov si, word [esp + 0x82]
mov dword [esp + 0x60], eax
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
mov ecx, eax
sar ecx, 0x10
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x48]
add ecx, eax
mov edx, ecx
sar edx, 0x10
mov dword [esp + 0x34], edx
or edx, 0xffffffff
sar eax, 8
sub edx, eax
mov eax, dword [esp + 0x8c]
mov eax, dword [eax + 4]
and edx, 0xff
mov dword [esp + 0x6c], edx
movzx edx, ch
mov ecx, eax
sar ecx, 0x10
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], edx
add ecx, eax
mov edx, ecx
sar edx, 0x10
mov dword [esp + 0x3c], edx
or edx, 0xffffffff
sar eax, 8
sub edx, eax
mov eax, dword [esp + 0x40]
and edx, 0xff
mov dword [esp + 0x74], edx
movzx edx, ch
xor ecx, ecx
mov dword [esp + 0x78], edx
cmp eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], eax
jg 0x45a8b1
nop
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jg 0x45a7c0
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x64]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
and edx, 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
jmp 0x45a600
mov edx, dword [esp + 0x68]
jmp 0x45a600
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test edx, edx
mov edx, ecx
je 0x45a636
test edx, edx
jge 0x45a614
xor ecx, ecx
mov edx, dword [esp + 0x18]
test edx, edx
jge 0x45a61e
xor eax, eax
mov edx, dword [esp + 0x30]
cmp ecx, edx
jl 0x45a629
lea ecx, [edx - 1]
mov edx, dword [esp + 0x20]
cmp eax, edx
jl 0x45a67a
lea eax, [edx - 1]
jmp 0x45a67a
test edx, edx
jge 0x45a646
lea ebx, [ebx]
add ecx, dword [esp + 0x30]
js 0x45a640
mov edx, dword [esp + 0x30]
cmp ecx, edx
jl 0x45a656
mov edi, edi
sub ecx, edx
cmp ecx, edx
jge 0x45a650
mov edx, dword [esp + 0x18]
test edx, edx
jge 0x45a666
mov edi, edi
add eax, dword [esp + 0x20]
js 0x45a660
cmp eax, dword [esp + 0x20]
jl 0x45a67a
lea esp, [esp]
mov edx, dword [esp + 0x20]
sub eax, edx
cmp eax, edx
jge 0x45a670
imul eax, dword [esp + 0x50]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub edx, 3
je 0x45a6e7
dec edx
je 0x45a6b2
dec edx
jne 0x45a70f
mov eax, dword [eax + ecx*4]
mov esi, eax
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr esi, 0x18
shr edx, 8
movzx di, cl
movzx bp, dl
movzx bx, al
jmp 0x45a70f
movzx eax, word [eax + ecx*2]
mov ecx, eax
mov edx, eax
shr ecx, 0xa
shr edx, 5
and ecx, 0x1f
mov di, word [ecx*4 + 0x53de38]
and edx, 0x1f
mov bp, word [edx*4 + 0x53de38]
and eax, 0x1f
mov bx, word [eax*4 + 0x53de38]
mov si, 0xff
jmp 0x45a720
movzx eax, byte [eax + ecx]
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x14]
movzx si, byte [edx + eax*4 + 3]
movzx di, byte [edx + eax*4 + 2]
movzx bp, byte [edx + eax*4 + 1]
movzx bx, byte [edx + eax*4]
lea eax, [edx + eax*4]
test si, si
jne 0x45a720
mov al, byte [esp + 0x13]
test al, al
je 0x45a7a7
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x44]
jne 0x45a730
mov eax, dword [esp + 0x6c]
jmp 0x45a73f
cmp eax, dword [esp + 0x34]
mov eax, dword [esp + 0x70]
je 0x45a73f
mov eax, 0x100
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x40]
jne 0x45a750
imul eax, dword [esp + 0x74]
jmp 0x45a760
cmp ecx, dword [esp + 0x3c]
jne 0x45a75d
imul eax, dword [esp + 0x78]
jmp 0x45a760
shl eax, 8
mov edx, dword [esp + 0x24]
sar eax, 8
movzx ecx, di
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
movzx edx, bp
imul edx, eax
add ecx, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
movzx ecx, bx
imul ecx, eax
add edx, ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
movzx edx, si
imul edx, eax
add ecx, edx
mov dword [esp + 0x1c], ecx
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jle 0x45a5f4
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x3c]
inc eax
cmp eax, edx
mov dword [esp + 0x18], eax
jle 0x45a5c0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45a888
xor edx, edx
cmp ecx, 0x10000
jae 0x45a83a
mov eax, 0x1000000
div ecx
mov edx, dword [esp + 0x94]
mov ecx, eax
imul ecx, dword [esp + 0x24]
shr ecx, 0x18
mov word [edx + 4], cx
mov ecx, eax
imul ecx, dword [esp + 0x28]
shr ecx, 0x18
mov word [edx + 2], cx
mov ecx, dword [esp + 0x94]
mov edx, eax
imul eax, dword [esp + 0x1c]
imul edx, dword [esp + 0x2c]
shr edx, 0x18
shr eax, 0x18
mov word [ecx], dx
mov word [ecx + 6], ax
jmp 0x45a9bb
mov eax, dword [esp + 0x24]
div ecx
mov edx, dword [esp + 0x94]
mov word [edx + 4], ax
mov eax, dword [esp + 0x28]
xor edx, edx
div ecx
mov edx, dword [esp + 0x94]
mov word [edx + 2], ax
mov eax, dword [esp + 0x2c]
xor edx, edx
div ecx
mov edx, dword [esp + 0x94]
mov word [edx], ax
mov eax, dword [esp + 0x1c]
xor edx, edx
div ecx
mov ecx, dword [esp + 0x94]
mov word [ecx + 6], ax
jmp 0x45a9bb
test ecx, ecx
je 0x45a8ad
mov al, byte [esp + 0x13]
test al, al
je 0x45a8ad
mov eax, dword [esp + 0x94]
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x45a9bb
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
test ecx, ecx
jge 0x45a8bd
xor ecx, ecx
jmp 0x45a8ce
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 0x18]
cmp ecx, edx
jl 0x45a8ce
lea ecx, [edx - 1]
test eax, eax
jge 0x45a8d6
xor eax, eax
jmp 0x45a8e7
mov edx, dword [esp + 0x88]
mov edx, dword [edx + 0x1c]
cmp eax, edx
jl 0x45a8e7
lea eax, [edx - 1]
imul eax, dword [esp + 0x50]
add eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub edx, 3
je 0x45a980
dec edx
je 0x45a93a
dec edx
jne 0x45a9bb
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x94]
mov edx, eax
shr edx, 0x18
mov word [ecx + 6], dx
mov edx, eax
shr edx, 0x10
movzx dx, dl
mov word [ecx + 4], dx
mov edx, eax
shr edx, 8
movzx dx, dl
mov word [ecx + 2], dx
movzx ax, al
jmp 0x45a9b8
movzx eax, word [eax + ecx*2]
mov ecx, dword [esp + 0x94]
mov edx, eax
shr edx, 0xa
and edx, 0x1f
mov word [ecx + 6], 0xff
mov dx, word [edx*4 + 0x53de38]
mov word [ecx + 4], dx
mov edx, eax
shr edx, 5
and edx, 0x1f
mov dx, word [edx*4 + 0x53de38]
and eax, 0x1f
mov word [ecx + 2], dx
mov ax, word [eax*4 + 0x53de38]
jmp 0x45a9b8
movzx ecx, byte [eax + ecx]
mov edx, dword [esp + 0x88]
mov eax, dword [edx + 0x14]
movzx dx, byte [eax + ecx*4 + 3]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x94]
mov word [ecx + 6], dx
movzx dx, byte [eax + 2]
mov word [ecx + 4], dx
movzx dx, byte [eax + 1]
mov word [ecx + 2], dx
movzx ax, byte [eax]
mov word [ecx], ax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x7c]
add eax, 8
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x8c]
mov edx, dword [eax]
add edx, ecx
mov ecx, dword [eax + 4]
mov dword [eax], edx
mov edx, dword [esp + 0x5c]
add ecx, edx
mov dword [eax + 4], ecx
dec dword [esp + 0x60]
jne 0x45a522
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret