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

Disassembly:
push ebx
push esi
sub esp, 0xac
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0xa4], ecx
add eax, 0x19
mov dword [esp + 0xa8], eax
mov eax, dword [0x1005f374]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
add eax, 0x157feef8
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
cmp eax, 1
sete al
mov byte [esp + 0x93], al
mov cl, byte [esp + 0x93]
xor eax, eax
test cl, 1
mov dword [esp + 0x8c], eax
jne 0x10040cbf
jmp 0x10040abf
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x88], eax
mov ecx, dword [0x10060c40]
mov eax, dword [0x10060c3c]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
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, 0
mov al, cl
and al, 0
and bl, dl
mov ch, ah
and ch, 0
and dh, dl
or al, bl
or ch, dh
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10040b2e
jmp 0x1004107e
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa8]
mov cl, byte [ecx + eax]
mov byte [esp + 0x85], cl
mov esi, 0x19
xor edx, edx
div esi
mov eax, dword [esp + 0xa0]
mov al, byte [eax + edx]
mov byte [esp + 0x86], al
xor cl, 0xff
and al, cl
mov byte [esp + 0x87], al
mov al, byte [esp + 0x87]
mov cl, byte [esp + 0x85]
mov dl, byte [esp + 0x86]
xor dl, 0xff
and cl, dl
or al, cl
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa4]
mov dl, byte [esp + 0x84]
mov byte [ecx + eax], dl
sub eax, 0x245a7a7b
add eax, 1
add eax, 0x245a7a7b
mov dword [esp + 0x78], eax
cmp eax, 2
sete al
mov byte [esp + 0x7e], al
mov eax, dword [0x10060c40]
mov ecx, dword [0x10060c3c]
mov edx, eax
add edx, 0x1fd30135
sub edx, 1
sub edx, 0x1fd30135
imul eax, edx
and eax, 1
cmp eax, 0
sete ah
cmp ecx, 0xa
setl cl
mov dl, ah
xor dl, 0xff
mov byte [esp + 0x7f], dl
mov al, cl
xor al, 0xff
mov byte [esp + 0x80], al
mov ch, 1
xor ch, 0
mov byte [esp + 0x81], ch
and dl, 0
and ah, ch
and al, 0
and cl, ch
or dl, ah
mov byte [esp + 0x82], dl
or al, cl
mov byte [esp + 0x83], al
mov cl, byte [esp + 0x80]
mov al, byte [esp + 0x7f]
mov ah, byte [esp + 0x83]
mov dl, byte [esp + 0x82]
xor dl, ah
mov byte [esp + 0x76], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x77], al
mov al, byte [esp + 0x76]
mov cl, byte [esp + 0x77]
mov dl, byte [esp + 0x81]
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x75], al
mov al, byte [esp + 0x75]
test al, 1
jne 0x10040c7d
jmp 0x1004107e
mov eax, dword [esp + 0x78]
mov cl, byte [esp + 0x7e]
test cl, 1
mov dword [esp + 0x8c], eax
jne 0x10040c9a
jmp 0x10040abf
mov eax, dword [0x1005f374]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
add eax, 0x157feef8
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov dword [eax], 1
jmp 0x10040cbf
mov eax, dword [0x10060c40]
mov dword [esp + 0x64], eax
mov eax, dword [0x10060c3c]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
imul eax, ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x5c]
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x5a], dl
xor al, cl
mov byte [esp + 0x5b], al
mov cl, byte [esp + 0x5b]
mov al, byte [esp + 0x5a]
or al, cl
test al, 1
jne 0x10040d2b
jmp 0x1004112c
mov eax, dword [0x10060c40]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [0x10060c3c]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x52], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x53], al
mov al, byte [esp + 0x53]
mov ah, byte [esp + 0x52]
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x4b], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x4c], dl
mov cl, 1
xor cl, 0
mov byte [esp + 0x4d], cl
and ch, 0
mov byte [esp + 0x4e], ch
and ah, cl
mov byte [esp + 0x4f], ah
and dl, 0
mov byte [esp + 0x50], dl
and al, cl
mov byte [esp + 0x51], al
mov cl, byte [esp + 0x51]
mov al, byte [esp + 0x50]
mov ah, byte [esp + 0x4f]
mov dl, byte [esp + 0x4e]
or dl, ah
mov byte [esp + 0x49], dl
or al, cl
mov byte [esp + 0x4a], al
mov dl, byte [esp + 0x4d]
mov ah, byte [esp + 0x4c]
mov cl, byte [esp + 0x4b]
mov ch, byte [esp + 0x4a]
mov al, byte [esp + 0x49]
xor al, ch
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
mov byte [esp + 0x48], al
mov al, byte [esp + 0x48]
test al, 1
jne 0x10040df0
jmp 0x1004112c
mov eax, dword [0x10060c40]
mov dword [esp + 0x44], eax
mov eax, dword [0x10060c3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
add eax, 0x40118b01
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub ecx, 1
sub ecx, 0x40118b01
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x3b], al
mov al, byte [esp + 0x3b]
mov ecx, dword [esp + 0x40]
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x39], dl
xor al, cl
mov byte [esp + 0x3a], al
mov cl, byte [esp + 0x3a]
mov al, byte [esp + 0x39]
or al, cl
test al, 1
jne 0x10040e63
jmp 0x10041127
mov eax, dword [0x10060c40]
mov dword [esp + 0x2c], eax
mov eax, dword [0x10060c3c]
mov dword [esp + 0x30], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x25], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x26], cl
xor al, 0xff
mov byte [esp + 0x27], al
mov dl, byte [esp + 0x26]
mov cl, byte [esp + 0x25]
mov al, byte [esp + 0x27]
mov ch, dl
xor ch, 0xff
mov byte [esp + 0x20], ch
mov ah, 1
xor ah, 0
mov byte [esp + 0x21], ah
and al, 0
and cl, ah
and ch, 0
mov byte [esp + 0x22], ch
and dl, ah
mov byte [esp + 0x23], dl
or al, cl
mov byte [esp + 0x24], al
mov al, byte [esp + 0x24]
mov dl, byte [esp + 0x23]
mov cl, byte [esp + 0x22]
or cl, dl
xor al, cl
mov byte [esp + 0x1f], al
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x21]
mov ah, byte [esp + 0x20]
mov cl, byte [esp + 0x27]
or cl, ah
xor cl, 0xff
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x10040f2a
jmp 0x10041127
mov eax, dword [0x10060c40]
mov dword [esp + 0x18], eax
mov eax, dword [0x10060c3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
mov ecx, eax
add ecx, 0x42cea6fd
sub ecx, 1
sub ecx, 0x42cea6fd
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x14]
cmp ecx, 0xa
setl cl
mov byte [esp + 0x11], cl
xor al, 0xff
mov byte [esp + 0x12], al
mov al, byte [esp + 0x12]
mov dh, byte [esp + 0x11]
mov bl, byte [esp + 0x13]
mov dl, dh
xor dl, 0xff
mov cl, 1
xor cl, 0
mov ah, al
and ah, 0
and bl, cl
mov ch, dl
and ch, 0
and dh, cl
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0xf], ah
or al, dl
xor al, 0xff
or cl, 0
and al, cl
mov byte [esp + 0x10], al
mov cl, byte [esp + 0x10]
mov al, byte [esp + 0xf]
or al, cl
test al, 1
jne 0x10040fcb
jmp 0x10041131
mov ecx, dword [0x10060c40]
mov eax, dword [0x10060c3c]
mov edx, ecx
add edx, 0xc2e3b2dd
sub edx, 1
sub edx, 0xc2e3b2dd
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0xb], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xc], al
xor cl, 0xff
mov byte [esp + 0xd], cl
xor al, 0xff
mov byte [esp + 0xe], al
mov al, 1
xor al, 1
mov byte [esp + 0xa], al
mov al, byte [esp + 0xd]
and al, 0xff
mov byte [esp + 9], al
mov cl, byte [esp + 0xa]
mov al, byte [esp + 0xb]
and al, cl
mov byte [esp + 8], al
mov al, byte [esp + 0xe]
and al, 0xff
mov byte [esp + 7], al
mov dl, byte [esp + 0xa]
mov ah, byte [esp + 0xe]
mov cl, byte [esp + 0xd]
mov ch, byte [esp + 7]
mov bl, byte [esp + 8]
mov al, byte [esp + 9]
mov dh, byte [esp + 0xc]
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
test al, 1
jne 0x10041075
jmp 0x10041131
add esp, 0xac
pop esi
pop ebx
ret
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0xa8]
mov cl, byte [ecx + eax]
mov byte [esp + 5], cl
mov ecx, 0x19
xor edx, edx
div ecx
mov eax, dword [esp + 0xa0]
mov al, byte [eax + edx]
mov byte [esp + 6], al
mov cl, byte [esp + 5]
xor eax, eax
sub al, 0x72
sub al, cl
add al, 0x72
mov ecx, dword [esp + 0x88]
mov bl, byte [esp + 6]
mov bh, byte [esp + 5]
mov dl, bh
xor dl, 0xff
and dl, 0x28
mov al, 0xff
xor al, 0x28
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x28
and bl, al
mov eax, dword [esp + 0xa4]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, 0xc3df9b7a
sub eax, ecx
add eax, 0xc3df9b7a
add eax, 0xbbacae96
add eax, 1
mov ecx, dword [esp + 0x88]
xor eax, eax
sub eax, 0x53589c18
sub eax, ecx
add eax, 0x53589c18
mov dword [esp], eax
mov ecx, dword [esp]
xor eax, eax
sub eax, ecx
jmp 0x10040b2e
jmp 0x10040e63
jmp 0x10040d2b
jmp 0x10040fcb