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

Disassembly:
push ebx
push esi
sub esp, 0x84
mov eax, dword [esp + 0x94]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x74], eax
mov eax, dword [0x1005fc48]
mov dword [esp + 0x78], eax
mov ecx, dword [0x1005fc44]
mov dword [esp + 0x7c], ecx
add eax, 0xd1fed076
sub eax, 1
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x80]
sub eax, 0xd1fed076
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x78]
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x6b], al
mov cl, byte [esp + 0x6b]
mov eax, dword [esp + 0x7c]
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x6a], al
mov al, byte [esp + 0x6a]
test al, 1
jne 0x10041ab3
jmp 0x10041e05
mov eax, dword [esp + 0x70]
add eax, 0x12
mov dword [esp + 0x54], eax
mov eax, dword [0x1005e374]
cmp dword [eax + 0x7ba14cd3], 1
sete al
mov byte [esp + 0x5b], al
mov eax, dword [0x1005fc48]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x1005fc44]
mov dword [esp + 0x60], ecx
sub eax, 0xceead5f5
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
sub eax, 1
add eax, 0xceead5f5
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x5c]
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x4b], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x4c], al
xor cl, 0xff
mov byte [esp + 0x4d], cl
xor al, 0xff
mov byte [esp + 0x4e], al
mov al, 1
xor al, 1
mov byte [esp + 0x4f], al
mov ah, byte [esp + 0x4f]
mov dl, byte [esp + 0x4c]
mov ch, byte [esp + 0x4e]
mov cl, byte [esp + 0x4b]
mov al, byte [esp + 0x4d]
and al, 0xff
and cl, ah
and ch, 0xff
mov byte [esp + 0x48], ch
and dl, ah
mov byte [esp + 0x49], dl
or al, cl
mov byte [esp + 0x4a], al
mov cl, byte [esp + 0x49]
mov al, byte [esp + 0x48]
or al, cl
mov byte [esp + 0x47], al
mov dl, byte [esp + 0x4f]
mov ah, byte [esp + 0x4e]
mov cl, byte [esp + 0x4d]
mov ch, byte [esp + 0x47]
mov al, byte [esp + 0x4a]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
test al, 1
jne 0x10041ba0
jmp 0x10041e05
mov cl, byte [esp + 0x5b]
xor eax, eax
test cl, 1
mov dword [esp + 0x40], eax
jne 0x10041d5a
jmp 0x10041bb8
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x1005fc48]
mov eax, dword [0x1005fc44]
mov edx, ecx
sub edx, 0xd36b341d
sub edx, 1
add edx, 0xd36b341d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
test al, 1
jne 0x10041c03
jmp 0x10041d63
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov dl, byte [edx + eax]
mov byte [esp + 0x39], dl
mov esi, 0x12
xor edx, edx
div esi
mov al, byte [esp + 0x39]
mov cl, byte [ecx + edx]
mov byte [esp + 0x3a], cl
xor al, 0xff
and al, 0xc8
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3a]
mov cl, byte [esp + 0x39]
mov dl, 0xff
xor dl, 0xc8
mov byte [esp + 0x36], dl
and cl, dl
mov byte [esp + 0x37], cl
xor al, 0xff
mov byte [esp + 0x38], al
mov ecx, dword [esp + 0x3c]
mov bh, byte [esp + 0x37]
mov dl, byte [esp + 0x3b]
mov al, byte [esp + 0x36]
mov bl, byte [esp + 0x3a]
mov dh, byte [esp + 0x38]
and dh, 0xc8
and bl, al
mov eax, dword [esp + 0x74]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
mov eax, dword [esp + 0x3c]
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 1
add ecx, eax
xor eax, eax
sub eax, ecx
mov dword [esp + 0x24], eax
cmp eax, 2
sete al
mov byte [esp + 0x2b], al
mov eax, dword [0x1005fc48]
mov ecx, dword [0x1005fc44]
mov dword [esp + 0x2c], ecx
mov ecx, eax
sub ecx, 0xa58d2876
sub ecx, 1
add ecx, 0xa58d2876
imul eax, ecx
and eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov cl, bl
xor cl, 0xff
mov ah, dh
xor ah, 0xff
mov dl, 1
xor dl, 1
mov al, cl
and al, 0xff
and bl, dl
mov ch, ah
and ch, 0xff
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 1
and cl, dl
or al, cl
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
test al, 1
jne 0x10041d1b
jmp 0x10041d63
mov eax, dword [esp + 0x24]
mov cl, byte [esp + 0x2b]
test cl, 1
mov dword [esp + 0x40], eax
jne 0x10041d35
jmp 0x10041bb8
mov eax, dword [0x1005e374]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
add eax, 0x7ba14cd3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [eax], 1
jmp 0x10041d5a
add esp, 0x84
pop esi
pop ebx
ret
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x3c]
mov al, byte [eax + ecx]
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x3c]
mov ecx, 0x12
xor edx, edx
div ecx
mov eax, dword [esp + 0x70]
add eax, edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov al, byte [eax]
mov byte [esp + 0xf], al
mov cl, byte [esp + 0xf]
mov al, byte [esp + 0x17]
xor edx, edx
sub dl, 0x48
sub dl, al
add dl, 0x48
xor eax, eax
sub al, dl
xor eax, eax
sub al, cl
mov al, byte [esp + 0xf]
mov cl, byte [esp + 0x17]
mov dl, cl
xor dl, 0xff
and dl, 0x89
mov byte [esp + 0xb], dl
mov dl, 0xff
xor dl, 0x89
mov byte [esp + 0xc], dl
and cl, dl
mov byte [esp + 0xd], cl
xor al, 0xff
mov byte [esp + 0xe], al
mov ecx, dword [esp + 0x3c]
mov bh, byte [esp + 0xd]
mov dl, byte [esp + 0xb]
mov al, byte [esp + 0xc]
mov bl, byte [esp + 0xf]
mov dh, byte [esp + 0xe]
and dh, 0x89
and bl, al
mov eax, dword [esp + 0x74]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
jmp 0x10041c03
mov eax, dword [0x1005e374]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x7ba14cd3
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x10041ab3