Function at 0x5f8470
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [ebp + 8]
mov dword [esp], ecx
mov ecx, dword [ebp + 0x10]
push ebx
lea ecx, [eax + ecx*4]
cmp eax, ecx
push esi
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
jae 0x5f92ba
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0xc]
fld dword [ecx]
fadd dword [edx + 0x10]
fld dword [ecx + 4]
fadd dword [edx + 0x14]
fld dword [ecx + 8]
fadd dword [edx + 0x18]
fstp dword [esp + 0x38]
fld dword [ecx + 0xc]
fadd dword [edx + 0x1c]
fstp dword [esp + 0x3c]
fxch st(1)
fmul dword [edx + 0x30]
fstp dword [esp + 0x30]
fmul dword [edx + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul dword [edx + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul dword [edx + 0x3c]
fld dword [esp + 0x30]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f84f9
mov dword [esp + 0x30], 0x477ffc00
fld dword [esp + 0x34]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f8512
mov dword [esp + 0x34], 0x477ffc00
fld dword [esp + 0x38]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f852b
mov dword [esp + 0x38], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f8540
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x30]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f8559
mov dword [esp + 0x30], 0
fld dword [esp + 0x34]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f8572
mov dword [esp + 0x34], 0
fld dword [esp + 0x38]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f858b
mov dword [esp + 0x38], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f85a0
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x30]
fadd dword [0x6542f8]
fstp dword [esp + 0x30]
mov eax, dword [esp + 0x30]
fld dword [esp + 0x34]
shr eax, 7
fadd dword [0x6542f8]
mov word [esp + 0x28], ax
fstp dword [esp + 0x34]
mov esi, dword [esp + 0x34]
fld dword [esp + 0x38]
shr esi, 7
fadd dword [0x6542f8]
mov word [esp + 0x2a], si
fstp dword [esp + 0x38]
mov edi, dword [esp + 0x38]
shr edi, 7
fadd dword [0x6542f8]
mov word [esp + 0x2c], di
fstp dword [esp + 0x3c]
mov ebx, dword [esp + 0x3c]
fld dword [edx + 0x20]
mov dword [esp + 0x5c], ebx
fadd dword [ecx + 0x10]
fld dword [ecx + 0x14]
fadd dword [edx + 0x24]
fld dword [ecx + 0x18]
fadd dword [edx + 0x28]
fstp dword [esp + 0x48]
fld dword [ecx + 0x1c]
fadd dword [edx + 0x2c]
fstp dword [esp + 0x4c]
fxch st(1)
fmul dword [edx + 0x30]
fstp dword [esp + 0x40]
fmul dword [edx + 0x34]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul dword [edx + 0x38]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmul dword [edx + 0x3c]
fld dword [esp + 0x40]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f865b
mov dword [esp + 0x40], 0x477ffc00
fld dword [esp + 0x44]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f8674
mov dword [esp + 0x44], 0x477ffc00
fld dword [esp + 0x48]
fcomp dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f868d
mov dword [esp + 0x48], 0x477ffc00
fcom dword [0x671b78]
fnstsw ax
test ah, 5
jnp 0x5f86a2
fstp st(0)
fld dword [0x671b78]
fld dword [esp + 0x40]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f86bb
mov dword [esp + 0x40], 0
fld dword [esp + 0x44]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f86d4
mov dword [esp + 0x44], 0
fld dword [esp + 0x48]
fcomp dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f86ed
mov dword [esp + 0x48], 0
fcom dword [0x641de0]
fnstsw ax
test ah, 0x41
je 0x5f8702
fstp st(0)
fld dword [0x641de0]
fld dword [esp + 0x40]
fadd dword [0x6542f8]
fstp dword [esp + 0x40]
mov eax, dword [esp + 0x40]
fld dword [esp + 0x44]
shr eax, 7
fadd dword [0x6542f8]
movzx eax, ax
or eax, 1
mov dword [esp + 0x70], eax
fstp dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x48]
shr ecx, 7
fadd dword [0x6542f8]
movzx eax, cx
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x48]
mov esi, dword [esp + 0x48]
fadd dword [0x6542f8]
mov ecx, dword [ecx]
or eax, 1
shr esi, 7
mov dword [esp + 0x74], eax
fstp dword [esp + 0x4c]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x28]
and edi, 0xfffe
movzx eax, si
mov esi, dword [ecx]
mov dword [esp + 0x60], edi
mov edi, dword [esp + 0x2a]
mov ebx, dword [esp + 0x60]
or eax, 1
and edi, 0xfffe
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x40]
mov dword [esp + 0x10], esi
shl esi, 4
movzx ecx, word [esi + eax + 8]
add esi, eax
mov dword [esp + 0x64], edi
mov edi, dword [esp + 0x2c]
and edi, 0xfffe
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x4c]
mov dword [esp + 0x68], edi
lea edi, [eax + ecx*4]
movzx eax, word [edi - 4]
cmp ebx, eax
mov dword [esp + 0x18], ecx
jge 0x5f88ce
movzx edx, word [edi - 2]
mov ebx, edx
shl ebx, 4
add ebx, dword [esp + 0x14]
test al, 1
mov word [edi], ax
mov word [edi + 2], dx
je 0x5f88a1
mov word [ebx + 0xa], cx
mov eax, dword [esi]
mov edx, dword [ebx + 4]
sub edx, eax
mov eax, dword [esi + 4]
sub eax, dword [ebx]
or edx, eax
test edx, 0x80008000
jne 0x5f88a5
mov eax, dword [ebx + 0xc]
test al, 1
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x78]
jne 0x5f8861
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 8]
and edx, 0x7fffffff
cmp dword [eax + 4], edx
jne 0x5f883d
push 8
push eax
call fcn.0054d2c0
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [eax + 4]
mov eax, dword [eax]
lea eax, [eax + edx*8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
inc edx
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x18]
mov dword [eax], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 4], edx
jmp 0x5f88a5
and eax, 0xfffffffe
lea ebx, [eax + edx + 4]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
and eax, 0x7fffffff
cmp edx, eax
mov dword [esp + 0x20], ebx
jne 0x5f888a
push 2
push ebx
call fcn.0054d2c0
mov ecx, dword [esp + 0x20]
add esp, 8
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov bx, word [esp + 0x10]
mov word [eax + edx*2], bx
mov eax, dword [esp + 0x20]
inc dword [eax + 4]
jmp 0x5f88a5
mov word [ebx + 8], cx
mov dx, word [esp + 0x10]
add edi, 0xfffffffc
dec ecx
mov word [edi + 2], dx
mov edx, dword [esp + 0x60]
mov word [esi + 8], cx
movzx eax, word [edi - 4]
cmp edx, eax
mov dword [esp + 0x18], ecx
jl 0x5f87d2
mov edx, dword [esp + 0xc]
mov ax, word [esp + 0x60]
mov word [edi], ax
movzx ecx, word [esi + 0xa]
mov eax, dword [edx + 0x4c]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x70]
add ebx, 4
cmp ecx, eax
jle 0x5f89df
inc word [esi + 0xa]
movzx edi, word [ebx + 2]
mov ecx, dword [esp + 0x14]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx - 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
jne 0x5f89c8
dec word [edi + 8]
mov ecx, dword [esi]
mov eax, dword [edi + 4]
sub eax, ecx
mov ecx, dword [esi + 4]
sub ecx, dword [edi]
or eax, ecx
test eax, 0x80008000
jne 0x5f89cc
mov eax, dword [edi + 0xc]
test al, 1
mov ecx, dword [edx + 0x78]
jne 0x5f898a
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
cmp dword [eax + 4], ecx
jne 0x5f8966
mov edx, eax
push 8
push edx
call fcn.0054d2c0
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
add esp, 8
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea eax, [eax + ecx*8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
inc ecx
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 4], ecx
jmp 0x5f89cc
and eax, 0xfffffffe
mov edx, dword [eax + ecx + 0xc]
lea edi, [eax + ecx + 4]
mov eax, dword [edi + 4]
and edx, 0x7fffffff
cmp eax, edx
jne 0x5f89ad
push 2
push edi
call fcn.0054d2c0
add esp, 8
mov eax, dword [edi + 4]
mov dx, word [esp + 0x10]
mov ecx, dword [edi]
mov word [ecx + eax*2], dx
mov eax, dword [edi + 4]
mov edx, dword [esp + 0xc]
inc eax
mov dword [edi + 4], eax
jmp 0x5f89cc
dec word [edi + 0xa]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x70]
add ebx, 4
cmp ecx, eax
jg 0x5f88f3
movzx eax, word [esi + 0xa]
mov edi, dword [edx + 0x4c]
lea ebx, [edi + eax*4]
movzx eax, word [ebx - 4]
cmp ecx, eax
jge 0x5f8ae3
mov ecx, dword [esp + 0x14]
add ebx, 0xfffffffc
dec word [esi + 0xa]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx + 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
jne 0x5f8ad1
inc word [edi + 8]
mov ecx, dword [esi]
mov eax, dword [edi + 4]
sub eax, ecx
mov ecx, dword [esi + 4]
sub ecx, dword [edi]
or eax, ecx
test eax, 0x80008000
jne 0x5f8ad5
mov eax, dword [edi + 0xc]
test al, 1
mov ecx, dword [edx + 0x78]
jne 0x5f8a8c
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
cmp dword [ecx + 4], eax
jne 0x5f8a68
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 4], ecx
jmp 0x5f8ad5
and eax, 0xfffffffe
mov edi, dword [eax + ecx + 8]
add eax, ecx
xor ecx, ecx
test edi, edi
jle 0x5f8ab4
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x10]
cmp word [edx], di
je 0x5f8acb
inc ecx
add edx, 2
cmp ecx, dword [eax + 8]
jl 0x5f8aa2
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, dword [eax + 8]
dec edi
mov dword [eax + 8], edi
mov eax, dword [eax + 4]
mov di, word [eax + edi*2]
mov word [eax + ecx*2], di
jmp 0x5f8ad5
mov edx, dword [esp + 0xc]
jmp 0x5f8ab7
inc word [edi + 0xa]
movzx eax, word [ebx - 4]
cmp dword [esp + 0x70], eax
jl 0x5f89f5
mov ax, word [esp + 0x70]
mov word [ebx], ax
movzx ecx, word [esi + 8]
mov eax, dword [edx + 0x4c]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx + 4]
cmp dword [esp + 0x60], eax
jle 0x5f8bf1
mov ecx, dword [esp + 0x14]
add ebx, 4
inc word [esi + 8]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx - 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
je 0x5f8bdf
dec word [edi + 0xa]
mov ecx, dword [esi]
mov eax, dword [edi + 4]
sub eax, ecx
mov ecx, dword [esi + 4]
sub ecx, dword [edi]
or eax, ecx
test eax, 0x80008000
jne 0x5f8be3
mov eax, dword [edi + 0xc]
test al, 1
mov ecx, dword [edx + 0x78]
jne 0x5f8b9a
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
and eax, 0x7fffffff
cmp dword [ecx + 4], eax
jne 0x5f8b76
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
lea ecx, [ecx + eax*8]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
inc eax
mov dword [ecx + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [edi + 0xc]
mov dword [eax + 4], ecx
jmp 0x5f8be3
and eax, 0xfffffffe
mov edi, dword [eax + ecx + 8]
add eax, ecx
xor ecx, ecx
test edi, edi
jle 0x5f8bc2
mov edx, dword [eax + 4]
mov edi, dword [esp + 0x10]
cmp word [edx], di
je 0x5f8bd9
inc ecx
add edx, 2
cmp ecx, dword [eax + 8]
jl 0x5f8bb0
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, dword [eax + 8]
dec edi
mov dword [eax + 8], edi
mov eax, dword [eax + 4]
mov di, word [eax + edi*2]
mov word [eax + ecx*2], di
jmp 0x5f8be3
mov edx, dword [esp + 0xc]
jmp 0x5f8bc5
dec word [edi + 8]
movzx eax, word [ebx + 4]
cmp dword [esp + 0x60], eax
jg 0x5f8b03
mov dx, word [esp + 0x60]
mov ecx, dword [esp + 0xc]
mov word [ebx], dx
movzx eax, word [esi]
mov edx, dword [ecx + 0x58]
mov ecx, dword [ebp + 0x14]
lea ebx, [edx + eax*4]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
movzx eax, word [ebx - 4]
cmp edx, eax
jge 0x5f8cdd
lea ecx, [ecx]
movzx edx, word [ebx - 2]
mov edi, edx
shl edi, 4
add edi, dword [esp + 0x14]
test al, 1
mov word [ebx], ax
mov word [ebx + 2], dx
je 0x5f8cad
mov ax, word [esp + 0x18]
mov word [edi + 4], ax
xor eax, eax
mov ax, word [esi + 6]
sub ax, word [edi + 2]
xor edx, edx
mov dx, word [edi + 6]
sub dx, word [esi + 2]
or edx, eax
xor eax, eax
mov ax, word [esi + 0xa]
sub ax, word [edi + 8]
or edx, eax
xor eax, eax
mov ax, word [edi + 0xa]
sub ax, word [esi + 8]
or edx, eax
test dh, dh
js 0x5f8cb5
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
and edx, 0x7fffffff
cmp eax, edx
jne 0x5f8c94
mov eax, dword [ebp + 0x14]
push 8
push eax
call fcn.0054d2c0
mov ecx, dword [ebp + 0x14]
add esp, 8
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea edx, [edx + eax*8]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 4], eax
jmp 0x5f8cb5
mov dx, word [esp + 0x18]
mov word [edi], dx
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x10]
add ebx, 0xfffffffc
dec eax
mov word [ebx + 2], dx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov word [esi], ax
movzx eax, word [ebx - 4]
cmp edx, eax
jl 0x5f8c20
mov word [ebx], dx
movzx eax, word [esi + 4]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x58]
lea ebx, [edx + eax*4]
movzx eax, word [ebx + 4]
mov edx, dword [esp + 0x74]
add ebx, 4
cmp edx, eax
jle 0x5f8da9
inc word [esi + 4]
movzx edi, word [ebx + 2]
mov edx, dword [esp + 0x14]
shl edi, 4
add edi, edx
test al, 1
mov edx, dword [ebx]
mov dword [ebx - 4], edx
mov dx, word [esp + 0x10]
mov word [ebx + 2], dx
jne 0x5f8d92
dec word [edi]
xor edx, edx
mov dx, word [esi + 6]
sub dx, word [edi + 2]
xor eax, eax
mov ax, word [edi + 6]
sub ax, word [esi + 2]
or eax, edx
xor edx, edx
mov dx, word [esi + 0xa]
sub dx, word [edi + 8]
or eax, edx
xor edx, edx
mov dx, word [edi + 0xa]
sub dx, word [esi + 8]
or eax, edx
test ah, ah
js 0x5f8d96
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
and eax, 0x7fffffff
cmp edx, eax
jne 0x5f8d79
mov ecx, dword [ebp + 0x14]
push 8
push ecx
call fcn.0054d2c0
mov ecx, dword [ebp + 0x14]
add esp, 8
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea edx, [edx + eax*8]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 4], eax
jmp 0x5f8d96
dec word [edi + 4]
movzx eax, word [ebx + 4]
mov edx, dword [esp + 0x74]
add ebx, 4
cmp edx, eax
jg 0x5f8d01
movzx ecx, word [esi + 4]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x58]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx - 4]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jge 0x5f8e78
mov edx, dword [ebp + 0x18]
lea ebx, [ebx]
mov ecx, dword [esp + 0x14]
add ebx, 0xfffffffc
dec word [esi + 4]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx + 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
jne 0x5f8e64
inc word [edi]
xor ecx, ecx
mov cx, word [esi + 6]
sub cx, word [edi + 2]
xor eax, eax
mov ax, word [edi + 6]
sub ax, word [esi + 2]
or eax, ecx
xor ecx, ecx
mov cx, word [esi + 0xa]
sub cx, word [edi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [edi + 0xa]
sub cx, word [esi + 8]
or eax, ecx
test ah, ah
js 0x5f8e68
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f8e4b
mov ecx, dword [ebp + 0x18]
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [edx + 4]
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
jmp 0x5f8e68
inc word [edi + 4]
movzx eax, word [ebx - 4]
mov ecx, dword [esp + 0x74]
cmp ecx, eax
jl 0x5f8dd0
mov edx, dword [esp + 0xc]
mov word [ebx], cx
movzx ecx, word [esi]
mov eax, dword [edx + 0x58]
mov edx, dword [ebp + 0x18]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jle 0x5f8f47
jmp 0x5f8ea0
mov ecx, dword [esp + 0x14]
add ebx, 4
inc word [esi]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx - 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
je 0x5f8f34
dec word [edi + 4]
xor ecx, ecx
mov cx, word [esi + 6]
sub cx, word [edi + 2]
xor eax, eax
mov ax, word [edi + 6]
sub ax, word [esi + 2]
or eax, ecx
xor ecx, ecx
mov cx, word [esi + 0xa]
sub cx, word [edi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [edi + 0xa]
sub cx, word [esi + 8]
or eax, ecx
test ah, ah
js 0x5f8f37
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f8f1b
mov ecx, dword [ebp + 0x18]
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [edx + 4]
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
jmp 0x5f8f37
dec word [edi]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jg 0x5f8ea0
mov word [ebx], cx
movzx eax, word [esi + 2]
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx + 0x64]
lea ebx, [ecx + eax*4]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
movzx eax, word [ebx - 4]
cmp ecx, eax
mov ecx, dword [ebp + 0x14]
jge 0x5f902a
nop
movzx edx, word [ebx - 2]
mov edi, edx
shl edi, 4
add edi, dword [esp + 0x14]
test al, 1
mov word [ebx + 2], dx
mov dx, word [esp + 0x18]
mov word [ebx], ax
je 0x5f8ffa
mov word [edi + 6], dx
xor edx, edx
mov dx, word [edi + 4]
sub dx, word [esi]
xor eax, eax
mov ax, word [esi + 0xa]
sub ax, word [edi + 8]
or eax, edx
xor edx, edx
mov dx, word [edi + 0xa]
sub dx, word [esi + 8]
or eax, edx
xor edx, edx
mov dx, word [esi + 4]
sub dx, word [edi]
or eax, edx
test ah, ah
js 0x5f8ffe
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
and eax, 0x7fffffff
cmp edx, eax
jne 0x5f8fe1
mov ecx, dword [ebp + 0x14]
push 8
push ecx
call fcn.0054d2c0
mov ecx, dword [ebp + 0x14]
add esp, 8
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea edx, [edx + eax*8]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 4], eax
jmp 0x5f8ffe
mov word [edi + 2], dx
mov eax, dword [esp + 0x18]
mov dx, word [esp + 0x10]
add ebx, 0xfffffffc
dec eax
mov word [ebx + 2], dx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov word [esi + 2], ax
movzx eax, word [ebx - 4]
cmp edx, eax
jl 0x5f8f70
mov edx, dword [ebp + 0x18]
mov ax, word [esp + 0x68]
mov edi, dword [esp + 0xc]
mov word [ebx], ax
movzx eax, word [esi + 6]
mov edi, dword [edi + 0x64]
lea ebx, [edi + eax*4]
movzx eax, word [ebx + 4]
mov edi, dword [esp + 0x78]
add ebx, 4
cmp edi, eax
jle 0x5f90fd
inc word [esi + 6]
movzx edi, word [ebx + 2]
mov edx, dword [esp + 0x14]
shl edi, 4
add edi, edx
test al, 1
mov edx, dword [ebx]
mov dword [ebx - 4], edx
mov dx, word [esp + 0x10]
mov word [ebx + 2], dx
jne 0x5f90e3
dec word [edi + 2]
xor edx, edx
mov dx, word [edi + 4]
sub dx, word [esi]
xor eax, eax
mov ax, word [esi + 0xa]
sub ax, word [edi + 8]
or eax, edx
xor edx, edx
mov dx, word [edi + 0xa]
sub dx, word [esi + 8]
or eax, edx
xor edx, edx
mov dx, word [esi + 4]
sub dx, word [edi]
or eax, edx
test ah, ah
js 0x5f90e7
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 4]
and eax, 0x7fffffff
cmp edx, eax
jne 0x5f90ca
mov ecx, dword [ebp + 0x14]
push 8
push ecx
call fcn.0054d2c0
mov ecx, dword [ebp + 0x14]
add esp, 8
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
lea edx, [edx + eax*8]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [edx], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 4], eax
jmp 0x5f90e7
dec word [edi + 6]
movzx eax, word [ebx + 4]
mov edx, dword [esp + 0x78]
add ebx, 4
cmp edx, eax
jg 0x5f9053
mov edx, dword [ebp + 0x18]
movzx ecx, word [esi + 6]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x64]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx - 4]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jge 0x5f91c7
jmp 0x5f9120
mov ecx, dword [esp + 0x14]
add ebx, 0xfffffffc
dec word [esi + 6]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx + 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
jne 0x5f91b3
inc word [edi + 2]
xor ecx, ecx
mov cx, word [edi + 4]
sub cx, word [esi]
xor eax, eax
mov ax, word [esi + 0xa]
sub ax, word [edi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [edi + 0xa]
sub cx, word [esi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [esi + 4]
sub cx, word [edi]
or eax, ecx
test ah, ah
js 0x5f91b7
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f919a
mov ecx, dword [ebp + 0x18]
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [edx + 4]
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
jmp 0x5f91b7
inc word [edi + 6]
movzx eax, word [ebx - 4]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jl 0x5f9120
mov eax, dword [esp + 0xc]
mov word [ebx], cx
movzx ecx, word [esi + 2]
mov eax, dword [eax + 0x64]
lea ebx, [eax + ecx*4]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jle 0x5f9297
jmp 0x5f91f0
mov ecx, dword [esp + 0x14]
add ebx, 4
inc word [esi + 2]
movzx edi, word [ebx + 2]
shl edi, 4
add edi, ecx
test al, 1
mov ecx, dword [ebx]
mov dword [ebx - 4], ecx
mov cx, word [esp + 0x10]
mov word [ebx + 2], cx
je 0x5f9283
dec word [edi + 6]
xor ecx, ecx
mov cx, word [edi + 4]
sub cx, word [esi]
xor eax, eax
mov ax, word [esi + 0xa]
sub ax, word [edi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [edi + 0xa]
sub cx, word [esi + 8]
or eax, ecx
xor ecx, ecx
mov cx, word [esi + 4]
sub cx, word [edi]
or eax, ecx
test ah, ah
js 0x5f9287
mov eax, dword [edx + 8]
mov ecx, dword [edx + 4]
and eax, 0x7fffffff
cmp ecx, eax
jne 0x5f926a
mov ecx, dword [ebp + 0x18]
push 8
push ecx
call fcn.0054d2c0
mov edx, dword [ebp + 0x18]
add esp, 8
mov eax, dword [edx + 4]
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
inc eax
mov dword [edx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov dword [ecx + 4], eax
jmp 0x5f9287
dec word [edi + 2]
movzx eax, word [ebx + 4]
mov ecx, dword [esp + 0x68]
cmp ecx, eax
jg 0x5f91f0
mov eax, dword [esp + 0x1c]
mov esi, dword [ebp + 0xc]
mov word [ebx], cx
mov ecx, dword [esp + 0x24]
add eax, 4
add esi, 0x20
cmp eax, ecx
mov dword [ebp + 0xc], esi
mov dword [esp + 0x1c], eax
jb 0x5f8498
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14