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

Disassembly:
push ebx
push esi
sub esp, 0xa8
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa0], eax
mov eax, dword [0x10060bf0]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [0x10060bec]
mov dword [esp + 0x94], ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0xa4]
imul eax, ecx
and eax, 1
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
cmp ecx, 0
sete cl
cmp eax, 0xa
setl dl
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x8f], al
mov al, byte [esp + 0x8f]
test al, 1
jne 0x100476ea
jmp 0x10047a64
mov eax, dword [esp + 0x9c]
add eax, 0x1b
mov dword [esp + 0x78], eax
mov eax, dword [0x1005f3a0]
cmp dword [eax + 0x67b973c4], 1
sete al
mov byte [esp + 0x7f], al
mov eax, dword [0x10060bf0]
mov dword [esp + 0x80], eax
mov ecx, dword [0x10060bec]
mov dword [esp + 0x84], ecx
sub eax, 0x5b2ce380
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
sub edx, 1
add edx, 0x5b2ce380
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x76], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x77], al
mov al, byte [esp + 0x76]
xor al, 0xff
mov byte [esp + 0x75], al
mov al, byte [esp + 0x77]
xor al, 0xff
mov byte [esp + 0x74], al
mov al, byte [esp + 0x75]
mov cl, 1
xor cl, 1
mov byte [esp + 0x72], cl
and al, 0xff
mov byte [esp + 0x73], al
mov dl, byte [esp + 0x72]
mov ah, byte [esp + 0x74]
mov cl, byte [esp + 0x75]
mov al, byte [esp + 0x73]
mov dh, byte [esp + 0x77]
mov bl, byte [esp + 0x76]
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
test al, 1
jne 0x100477cf
jmp 0x10047a64
mov eax, dword [0x10060bf0]
mov dword [esp + 0x64], eax
mov eax, dword [0x10060bec]
mov dword [esp + 0x68], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x64]
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 eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x5a], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x5b], al
mov dl, byte [esp + 0x5b]
mov cl, byte [esp + 0x5a]
mov al, cl
and al, dl
xor cl, dl
or al, cl
mov byte [esp + 0x59], al
mov al, byte [esp + 0x59]
test al, 1
jne 0x1004784b
jmp 0x10047a85
mov eax, dword [0x10060bf0]
mov dword [esp + 0x50], eax
mov eax, dword [0x10060bec]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
add eax, 0x59fec1bf
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
sub eax, 1
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
sub edx, 0x59fec1bf
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
mov byte [esp + 0x46], dl
xor al, cl
mov byte [esp + 0x47], al
mov cl, byte [esp + 0x47]
mov al, byte [esp + 0x46]
or al, cl
mov byte [esp + 0x45], al
mov al, byte [esp + 0x45]
test al, 1
jne 0x100478c6
jmp 0x10047a85
mov cl, byte [esp + 0x7f]
xor eax, eax
test cl, 1
mov dword [esp + 0x40], eax
jne 0x10047a5b
jmp 0x100478de
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov ecx, dword [0x10060bf0]
mov eax, dword [0x10060bec]
mov edx, ecx
sub edx, 0x54622e57
sub edx, 1
add edx, 0x54622e57
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 0x10047929
jmp 0x10047a8a
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x78]
mov dl, byte [edx + eax]
mov byte [esp + 0x39], dl
mov esi, 0x1b
xor edx, edx
div esi
mov al, byte [esp + 0x39]
mov cl, byte [ecx + edx]
mov byte [esp + 0x3a], cl
xor al, 0xff
mov byte [esp + 0x3b], al
mov ecx, dword [esp + 0x3c]
mov bl, byte [esp + 0x3a]
mov bh, byte [esp + 0x39]
mov dl, byte [esp + 0x3b]
and dl, 0xfb
mov al, 0xff
xor al, 0xfb
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0xfb
and bl, al
mov eax, dword [esp + 0xa0]
or dl, bh
or dh, bl
xor dl, dh
mov byte [esp + 0x33], dl
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov cl, byte [esp + 0x33]
mov byte [eax], cl
mov eax, dword [esp + 0x3c]
add eax, 0x2a016265
add eax, 1
sub eax, 0x2a016265
mov dword [esp + 0x1c], eax
cmp eax, 0x15
sete al
mov byte [esp + 0x23], al
mov eax, dword [0x10060bf0]
mov dword [esp + 0x24], eax
mov ecx, dword [0x10060bec]
mov dword [esp + 0x28], ecx
add eax, 0x57af0704
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub ecx, 1
sub ecx, 0x57af0704
imul eax, ecx
and eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
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 0x10047a1c
jmp 0x10047a8a
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x23]
test cl, 1
mov dword [esp + 0x40], eax
jne 0x10047a36
jmp 0x100478de
mov eax, dword [0x1005f3a0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
add eax, 0x67b973c4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov dword [eax], 1
jmp 0x10047a5b
add esp, 0xa8
pop esi
pop ebx
ret
mov eax, dword [0x1005f3a0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x67b973c4
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov eax, dword [eax]
jmp 0x100476ea
jmp 0x1004784b
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
mov cl, byte [ecx + eax]
mov byte [esp + 3], cl
mov ecx, 0x1b
xor edx, edx
div ecx
mov eax, dword [esp + 0x9c]
add eax, edx
mov dword [esp + 4], eax
mov cl, byte [esp + 3]
mov eax, dword [esp + 4]
mov al, byte [eax]
mov byte [esp + 2], al
xor eax, eax
sub al, 0xe9
sub al, cl
mov al, byte [esp + 2]
mov cl, byte [esp + 3]
xor cl, 0xff
and al, cl
mov byte [esp + 1], al
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xa0]
mov dl, byte [esp + 1]
mov dh, byte [esp + 3]
mov bl, byte [esp + 2]
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, 0x74f40490
sub eax, ecx
jmp 0x10047929