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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0xb8
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
mov eax, dword [ebx]
mov dword [esp + 0x96], 0
mov dword [esp + 0x8c], eax
movzx eax, word [ebx + 4]
mov dword [esp + 0x9a], 0
test al, 1
jne 0x41afb2
movzx ecx, word [ebx + 6]
shr ax, 1
lea edx, [ebx + 6]
mov word [ebx + 4], ax
mov eax, ecx
shr cx, 1
and eax, 1
mov word [ebx + 6], cx
add eax, eax
movzx ecx, word [edx + 2]
mov esi, eax
or esi, 1
test cl, 1
cmovne eax, esi
shr cx, 1
mov esi, ecx
or si, 0x8000
test al, 2
cmovne ecx, esi
add eax, eax
mov esi, eax
mov word [edx + 2], cx
movzx ecx, word [edx + 4]
or esi, 1
test cl, 1
cmovne eax, esi
shr cx, 1
mov esi, ecx
or si, 0x8000
test al, 2
cmovne ecx, esi
add eax, eax
mov esi, eax
mov word [edx + 4], cx
movzx ecx, word [edx + 6]
or esi, 1
test cl, 1
cmovne eax, esi
shr cx, 1
mov esi, ecx
or si, 0x8000
test al, 2
cmovne ecx, esi
add eax, eax
mov esi, eax
mov word [edx + 6], cx
movzx ecx, word [edx + 8]
or esi, 1
test cl, 1
cmovne eax, esi
shr cx, 1
mov esi, ecx
or si, 0x8000
test al, 2
cmovne ecx, esi
add eax, eax
mov esi, eax
mov word [edx + 8], cx
movzx ecx, word [edx + 0xa]
or esi, 1
test cl, 1
cmovne eax, esi
shr cx, 1
mov esi, ecx
or si, 0x8000
test al, 2
mov eax, dword [ebp + 8]
cmovne ecx, esi
mov word [edx + 0xa], cx
movzx esi, word [eax + 6]
mov eax, esi
mov dword [esp + 0x48], esi
shl eax, 0x10
sub eax, esi
mov esi, ebx
mov dword [esp + 0x4c], eax
movzx eax, word [ebx + 4]
mov word [esp + 0x80], ax
movzx eax, word [ebx + 6]
mov word [esp + 0x74], ax
lea eax, [esp + 0x90]
mov dword [esp + 0x5c], eax
jmp 0x41af1e
xor edx, edx
div dword [esp + 0x48]
mov word [esp + 0x66], ax
movzx eax, ax
mov edx, dword [ebp + 8]
lea ecx, [esp + 0xa0]
call fcn.0041a120
movzx eax, word [esp + 0xa4]
mov word [esp + 0x50], ax
cmp word [esp + 0x80], ax
jne 0x41afe1
movzx edx, word [esp + 0xac]
movzx ebx, word [esp + 0xaa]
movzx ecx, word [esp + 0xa6]
movzx eax, word [esi + 8]
mov word [esp + 0x72], dx
movzx edx, word [esi + 0xc]
mov word [esp + 0x78], bx
movzx ebx, word [esi + 0xa]
mov word [esp + 0x70], dx
movzx edx, word [esp + 0xae]
mov word [esp + 0x68], cx
movzx edi, word [esp + 0xa8]
mov word [esp + 0x6c], dx
movzx edx, word [esi + 0xe]
mov word [esp + 0x64], ax
mov word [esp + 0x6a], dx
movzx edx, word [esp + 0xb0]
mov word [esp + 0x62], bx
mov word [esp + 0x86], dx
movzx edx, word [esi + 0x10]
mov word [esp + 0x84], dx
cmp word [esp + 0x74], cx
jne 0x41b272
cmp di, ax
jne 0x41b27e
cmp word [esp + 0x78], bx
jne 0x41b287
movzx edx, word [esp + 0x70]
cmp word [esp + 0x72], dx
jne 0x41b293
movzx edx, word [esp + 0x6a]
cmp word [esp + 0x6c], dx
jne 0x41b29f
movzx edx, word [esp + 0x84]
cmp word [esp + 0x86], dx
jne 0x41b2ab
movzx eax, word [esp + 0x6c]
movzx edx, word [esp + 0x6a]
movzx edi, di
movzx ecx, word [esp + 0x86]
movzx ebx, word [esp + 0x78]
sub edx, eax
movzx eax, word [esp + 0x84]
sub eax, ecx
movzx ecx, word [esp + 0x70]
shr eax, 0x10
and eax, 1
sub edx, eax
mov dword [esp + 0x6c], edx
mov eax, edx
movzx edx, word [esp + 0x72]
shr eax, 0x10
and eax, 1
sub ecx, edx
sub ecx, eax
mov edx, ecx
shl ecx, 0x10
shr edx, 0x10
mov eax, edx
movzx edx, word [esp + 0x62]
and eax, 1
sub edx, ebx
sub edx, eax
movzx eax, word [esp + 0x64]
mov ebx, edx
movzx edx, dx
shr ebx, 0x10
sub eax, edi
and ebx, 1
sub eax, ebx
movzx ebx, word [esp + 0x68]
mov edi, eax
mov word [esp + 0x74], ax
shl eax, 0x10
shr edi, 0x10
and edi, 1
mov dword [esp + 0x78], edi
mov edi, ebx
mov ebx, dword [esp + 0x58]
sub ebx, edi
mov edi, dword [esp + 0x78]
sub ebx, edi
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x78], ebx
mov word [esp + 0x80], bx
movzx ebx, word [esp + 0x66]
add edi, 2
mov word [edi - 2], bx
movzx ebx, word [esp + 0x78]
or eax, ebx
mov ebx, ecx
mov dword [esp + 0x78], eax
or ebx, edx
movzx eax, word [esp + 0x84]
sub ax, word [esp + 0x86]
mov dword [esp + 0x7c], ebx
movzx ebx, word [esp + 0x6c]
movq xmm3, qword [esp + 0x78]
mov word [esi + 0xe], ax
xor eax, eax
mov word [esi + 0x10], ax
lea eax, [esp + 0x9e]
mov word [esi + 0xc], bx
movq qword [esi + 4], xmm3
mov dword [esp + 0x5c], edi
cmp eax, edi
je 0x41af58
mov eax, dword [esp + 0x80]
movzx ecx, word [esp + 0x74]
shl eax, 0x10
mov dword [esp + 0x58], ecx
add eax, ecx
cmp dword [esp + 0x4c], eax
jae 0x41ad10
mov edx, 0xffffffff
mov eax, 0xffff
mov word [esp + 0x66], dx
jmp 0x41ad1e
movd xmm0, dword [esi + 8]
movd xmm1, dword [esi + 4]
pxor xmm2, xmm2
movzx eax, word [esp + 0x9c]
movdqu xmm4, xmmword [esp + 0x8c]
por xmm1, xmm0
movd xmm0, dword [esi + 0xc]
mov word [esi + 0x10], ax
por xmm0, xmm1
movups xmmword [esi], xmm4
movdqa xmm1, xmm0
punpcklwd xmm1, xmm2
pshuflw xmm1, xmm1, 0xe6
por xmm0, xmm1
pextrw eax, xmm0, 0
test ax, ax
setne al
lea esp, [ebp - 0xc]
pop ebx
movzx eax, al
pop esi
pop edi
pop ebp
ret
movzx ecx, word [ebx + 6]
shr ax, 1
lea edx, [ebx + 6]
mov word [ebx + 4], ax
test cl, 1
jne 0x41afd7
shr cx, 1
mov eax, 2
or cx, 0x8000
jmp 0x41ac19
shr cx, 1
mov eax, 3
jmp 0x41afcd
mov edx, eax
movzx eax, word [esi + 0x10]
movzx edi, word [esp + 0xa8]
movzx ecx, word [esp + 0x80]
mov word [esp + 0x84], ax
movzx eax, word [esi + 0xe]
mov word [esp + 0x6a], ax
movzx eax, word [esi + 0xc]
mov word [esp + 0x70], ax
movzx eax, word [esi + 0xa]
mov word [esp + 0x62], ax
movzx eax, word [esi + 8]
mov word [esp + 0x64], ax
movzx eax, word [esp + 0xb0]
mov word [esp + 0x86], ax
movzx eax, word [esp + 0xae]
mov word [esp + 0x6c], ax
movzx eax, word [esp + 0xac]
mov word [esp + 0x72], ax
movzx eax, word [esp + 0xaa]
mov word [esp + 0x78], ax
movzx eax, word [esp + 0xa6]
mov word [esp + 0x68], ax
lea esi, [esi]
nop
cmp cx, dx
jae 0x41ae19
movzx eax, word [esp + 0x66]
movzx edx, word [esp + 0x86]
sub eax, 1
mov ecx, edx
mov word [esp + 0x60], ax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x10]
sub ecx, eax
mov word [esp + 0x28], ax
sub edx, eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
shr edx, 0x10
mov word [esp + 0x86], cx
and edx, 1
movzx eax, word [eax + 0xe]
mov word [esp + 0xb0], cx
movzx ecx, word [esp + 0x6c]
mov dword [esp + 0x20], eax
sub ecx, eax
mov eax, dword [ebp + 8]
sub ecx, edx
movzx eax, word [eax + 0xc]
mov word [esp + 0x6c], cx
mov edx, ecx
mov dword [esp + 0x2c], ecx
shr edx, 0x10
mov word [esp + 0xae], cx
movzx ecx, word [esp + 0x72]
and edx, 1
mov dword [esp + 0x1c], eax
sub ecx, eax
mov eax, dword [ebp + 8]
sub ecx, edx
movzx eax, word [eax + 0xa]
mov word [esp + 0x72], cx
mov edx, ecx
mov dword [esp + 0x38], ecx
shr edx, 0x10
mov word [esp + 0xac], cx
movzx ecx, word [esp + 0x78]
and edx, 1
mov dword [esp + 0x18], eax
sub ecx, eax
mov eax, dword [ebp + 8]
sub ecx, edx
movzx eax, word [eax + 8]
mov edx, ecx
mov dword [esp + 0x44], ecx
mov word [esp + 0x78], cx
shr edx, 0x10
movzx ecx, di
and edx, 1
sub ecx, eax
mov dword [esp + 0x14], eax
sub ecx, edx
mov edi, ecx
shr ecx, 0x10
mov dword [esp + 0x40], edi
mov eax, dword [ebp + 8]
mov edx, ecx
movzx ecx, word [esp + 0x68]
and edx, 1
movzx eax, word [eax + 6]
sub ecx, eax
mov dword [esp + 0x10], eax
sub ecx, edx
mov eax, ecx
mov word [esp + 0x68], cx
shr eax, 0x10
mov ebx, eax
mov eax, dword [ebp + 8]
and ebx, 1
movzx eax, word [eax + 4]
mov edx, eax
mov dword [esp + 0xc], eax
movzx eax, word [esp + 0x50]
sub eax, edx
mov edx, dword [esp + 0x44]
sub eax, ebx
mov ebx, eax
mov word [esp + 0x2a], ax
movzx eax, cx
mov dword [esp], eax
movzx eax, bx
mov dword [esp + 8], eax
mov eax, ecx
shl eax, 0x10
mov dword [esp + 0x34], eax
movzx eax, dx
shl edx, 0x10
mov dword [esp + 4], eax
movzx eax, word [esp + 0x40]
mov dword [esp + 0x30], edx
movzx edx, bx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x34]
or eax, edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
or eax, edx
mov dword [esp + 0x54], eax
movq xmm5, qword [esp + 0x50]
movq qword [esp + 0xa4], xmm5
cmp word [esp + 0x80], bx
jne 0x41b2cc
cmp word [esp + 0x74], cx
jne 0x41b2ba
movzx eax, word [esp + 0x64]
cmp word [esp + 0x40], ax
jne 0x41b408
movzx eax, word [esp + 0x62]
cmp word [esp + 0x44], ax
jne 0x41b41f
movzx eax, word [esp + 0x70]
cmp word [esp + 0x38], ax
jne 0x41b436
movzx eax, word [esp + 0x6a]
cmp word [esp + 0x2c], ax
jne 0x41b44d
movzx eax, word [esp + 0x84]
cmp word [esp + 0x86], ax
jne 0x41b464
movzx eax, word [esp + 0x60]
mov word [esp + 0x66], ax
jmp 0x41ae19
mov edx, ecx
movzx ecx, word [esp + 0x74]
jmp 0x41b070
mov ecx, eax
mov edx, edi
jmp 0x41b070
movzx edx, word [esp + 0x78]
mov ecx, ebx
jmp 0x41b070
mov ecx, edx
movzx edx, word [esp + 0x72]
jmp 0x41b070
mov ecx, edx
movzx edx, word [esp + 0x6c]
jmp 0x41b070
mov ecx, edx
movzx edx, word [esp + 0x86]
jmp 0x41b070
movzx eax, word [esp + 0x74]
mov word [esp + 0x2a], cx
mov word [esp + 0x80], ax
movzx ecx, word [esp + 0x2a]
cmp word [esp + 0x80], cx
jae 0x41b263
movzx eax, word [esp + 0x86]
mov ebx, dword [esp + 0x24]
movzx edx, word [esp + 0x2c]
sub word [esp + 0x66], 2
mov edi, eax
sub eax, ebx
movzx ebx, word [esp + 0x28]
shr eax, 0x10
mov ecx, edx
movzx edx, word [esp + 0x38]
sub edi, ebx
and eax, 1
mov ebx, dword [esp + 0x14]
mov word [esp + 0x86], di
mov word [esp + 0xb0], di
mov edi, dword [esp + 0x20]
add eax, edi
mov edi, dword [esp + 0x18]
sub ecx, eax
mov eax, ecx
mov word [esp + 0x6c], cx
shr eax, 0x10
mov word [esp + 0xae], cx
and eax, 1
sub edx, eax
mov eax, dword [esp + 0x1c]
sub edx, eax
mov eax, edx
mov word [esp + 0x72], dx
shr eax, 0x10
mov word [esp + 0xac], dx
and eax, 1
mov ecx, eax
mov eax, dword [esp + 4]
sub eax, edi
sub eax, ecx
mov edi, eax
shr eax, 0x10
and eax, 1
mov dword [esp + 0x80], edi
mov edx, eax
mov eax, dword [esp + 0x3c]
mov word [esp + 0x78], di
sub eax, ebx
mov ebx, dword [esp + 0x10]
mov ecx, eax
sub ecx, edx
mov eax, ecx
mov dword [esp + 0x74], ecx
mov edi, ecx
shr eax, 0x10
mov edx, eax
mov eax, dword [esp]
and edx, 1
sub eax, ebx
mov ebx, dword [esp + 0xc]
sub eax, edx
mov ecx, eax
shr eax, 0x10
mov edx, eax
mov eax, dword [esp + 8]
mov word [esp + 0x68], cx
shl ecx, 0x10
and edx, 1
sub eax, ebx
movzx ebx, word [esp + 0x74]
sub eax, edx
movzx edx, ax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x50], edx
shl eax, 0x10
mov dword [esp + 0x80], eax
mov ebx, dword [esp + 0x50]
or ebx, ecx
mov ecx, dword [esp + 0x80]
mov eax, ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0xa4], eax
or ebx, ecx
mov dword [esp + 0xa8], ebx
jmp 0x41ae19
mov word [esp + 0x80], ax
movzx eax, word [esp + 0x40]
mov word [esp + 0x2a], ax
jmp 0x41b2cc
mov word [esp + 0x80], ax
movzx eax, word [esp + 0x44]
mov word [esp + 0x2a], ax
jmp 0x41b2cc
mov word [esp + 0x80], ax
movzx eax, word [esp + 0x38]
mov word [esp + 0x2a], ax
jmp 0x41b2cc
mov word [esp + 0x80], ax
movzx eax, word [esp + 0x2c]
mov word [esp + 0x2a], ax
jmp 0x41b2cc
mov word [esp + 0x80], ax
movzx eax, word [esp + 0x86]
mov word [esp + 0x2a], ax
jmp 0x41b2cc