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

Disassembly:
push ebx
push esi
sub esp, 0xc8
mov eax, dword [esp + 0xd8]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xc0], eax
mov eax, dword [0x10060c50]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xc4]
mov ecx, dword [0x10060c4c]
mov dword [esp + 0xb4], ecx
xor edx, edx
sub edx, 1
mov ecx, eax
add ecx, edx
imul eax, ecx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0xb8]
and eax, 1
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
cmp ecx, 0
sete cl
mov byte [esp + 0xae], cl
cmp eax, 0xa
setl al
mov byte [esp + 0xaf], al
mov cl, byte [esp + 0xaf]
mov al, byte [esp + 0xae]
mov dl, al
and dl, cl
mov byte [esp + 0xac], dl
xor al, cl
mov byte [esp + 0xad], al
mov cl, byte [esp + 0xad]
mov al, byte [esp + 0xac]
or al, cl
test al, 1
jne 0x1004017f
jmp 0x100407c4
mov eax, dword [esp + 0xbc]
add eax, 0x18
mov dword [esp + 0xa4], eax
mov eax, dword [0x1005f36c]
mov eax, dword [eax + 0x7bbe3f32]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa8]
cmp eax, 1
sete al
mov byte [esp + 0x9b], al
mov eax, dword [0x10060c50]
mov ecx, dword [0x10060c4c]
mov dword [esp + 0x9c], ecx
mov ecx, eax
add ecx, 0x9c8d44a7
sub ecx, 1
sub ecx, 0x9c8d44a7
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0xa3], al
mov cl, byte [esp + 0xa3]
mov eax, dword [esp + 0x9c]
cmp eax, 0xa
setl al
mov byte [esp + 0x98], al
xor cl, 0xff
mov byte [esp + 0x99], cl
xor al, 0xff
mov byte [esp + 0x9a], al
mov al, byte [esp + 0x99]
mov cl, 1
xor cl, 0
mov byte [esp + 0x96], cl
and al, 0
mov byte [esp + 0x97], al
mov cl, byte [esp + 0x9a]
mov al, byte [esp + 0x99]
mov dl, byte [esp + 0x97]
mov bl, byte [esp + 0x96]
mov ch, byte [esp + 0x98]
mov dh, byte [esp + 0xa3]
and dh, bl
mov ah, cl
and ah, 0
and ch, bl
or dl, dh
or ah, ch
xor dl, ah
mov byte [esp + 0x94], dl
or al, cl
xor al, 0xff
mov byte [esp + 0x95], al
mov al, byte [esp + 0x94]
mov cl, byte [esp + 0x95]
mov dl, byte [esp + 0x96]
or dl, 0
and cl, dl
or al, cl
test al, 1
jne 0x100402aa
jmp 0x100407c4
mov cl, byte [esp + 0x9b]
xor eax, eax
test cl, 1
mov dword [esp + 0x90], eax
jne 0x100405a8
jmp 0x100402c8
mov eax, dword [esp + 0x90]
mov dword [esp + 0x8c], eax
mov ecx, dword [0x10060c50]
mov eax, dword [0x10060c4c]
mov edx, ecx
add edx, 0x200e934c
sub edx, 1
sub edx, 0x200e934c
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, 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
test al, 1
jne 0x1004033f
jmp 0x100407e3
mov eax, dword [0x10060c50]
mov dword [esp + 0x80], eax
mov ecx, dword [0x10060c4c]
mov dword [esp + 0x84], ecx
sub eax, 0x50e4b6c4
sub eax, 1
add eax, 0x50e4b6c4
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x80]
imul eax, ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x7c]
and ecx, 1
cmp ecx, 0
sete cl
mov byte [esp + 0x78], cl
cmp eax, 0xa
setl al
mov byte [esp + 0x79], al
xor cl, 0xff
mov byte [esp + 0x7a], cl
xor al, 0xff
mov byte [esp + 0x7b], al
mov dl, byte [esp + 0x7b]
mov cl, byte [esp + 0x7a]
mov dh, byte [esp + 0x79]
mov bl, byte [esp + 0x78]
mov al, 1
xor al, 0
mov ah, cl
and ah, 0
and bl, al
mov ch, dl
and ch, 0
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x75], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x76], cl
or al, 0
mov byte [esp + 0x77], al
mov al, byte [esp + 0x75]
mov dl, byte [esp + 0x77]
mov cl, byte [esp + 0x76]
and cl, dl
or al, cl
mov byte [esp + 0x74], al
mov al, byte [esp + 0x74]
test al, 1
jne 0x10040410
jmp 0x100407e3
mov eax, dword [0x10060c50]
mov dword [esp + 0x6c], eax
mov eax, dword [0x10060c4c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
sub eax, 0xe22e0b45
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
sub eax, 1
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
add eax, 0xe22e0b45
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x6c]
imul eax, ecx
and eax, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
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 0x10040482
jmp 0x1004073b
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x8c]
mov al, byte [eax + ecx]
mov byte [esp + 0x5b], al
mov cl, byte [esp + 0x5b]
mov eax, dword [esp + 0x8c]
mov esi, 0x18
xor edx, edx
div esi
mov eax, dword [esp + 0xbc]
mov al, byte [eax + edx]
mov byte [esp + 0x59], al
xor cl, 0xff
and al, cl
mov byte [esp + 0x5a], al
mov al, byte [esp + 0x5a]
mov cl, byte [esp + 0x5b]
mov dl, byte [esp + 0x59]
xor dl, 0xff
and cl, dl
or al, cl
mov byte [esp + 0x58], al
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0xc0]
mov dl, byte [esp + 0x58]
mov byte [eax + ecx], dl
xor eax, eax
sub eax, ecx
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x54]
xor eax, eax
sub eax, ecx
mov dword [esp + 0x44], eax
cmp eax, 2
sete al
mov byte [esp + 0x4b], al
mov eax, dword [0x10060c50]
mov ecx, dword [0x10060c4c]
mov dword [esp + 0x4c], ecx
mov ecx, eax
add ecx, 0x4fdcdb9f
sub ecx, 1
sub ecx, 0x4fdcdb9f
imul eax, ecx
and eax, 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
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 0x10040566
jmp 0x1004073b
mov eax, dword [esp + 0x44]
mov cl, byte [esp + 0x4b]
test cl, 1
mov dword [esp + 0x90], eax
jne 0x10040583
jmp 0x100402c8
mov eax, dword [0x1005f36c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
add eax, 0x7bbe3f32
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], 1
jmp 0x100405a8
mov eax, dword [0x10060c50]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [0x10060c4c]
mov dword [esp + 0x30], ecx
add eax, 0x12755be2
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
sub eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
sub ecx, 0x12755be2
imul eax, ecx
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x22], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x23], cl
xor al, 0xff
mov byte [esp + 0x24], al
xor cl, 0xff
mov byte [esp + 0x25], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x26], cl
and al, 0xff
mov byte [esp + 0x27], al
mov dl, byte [esp + 0x26]
mov ah, byte [esp + 0x25]
mov cl, byte [esp + 0x24]
mov al, byte [esp + 0x27]
mov dh, byte [esp + 0x23]
mov bl, byte [esp + 0x22]
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 0x10040663
jmp 0x100407e8
mov eax, dword [0x10060c50]
mov dword [esp + 0x18], eax
mov eax, dword [0x10060c4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add eax, 0xa205ba29
sub eax, 1
sub eax, 0xa205ba29
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x11], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x12], cl
xor al, 0xff
mov byte [esp + 0x13], al
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x12]
xor cl, 0xff
mov byte [esp + 0xe], cl
mov cl, 1
xor cl, 0
mov byte [esp + 0xf], cl
and al, 0
mov byte [esp + 0x10], al
mov al, byte [esp + 0x10]
mov ah, byte [esp + 0xf]
mov dl, byte [esp + 0x12]
mov ch, byte [esp + 0xe]
mov cl, byte [esp + 0x11]
and cl, ah
and ch, 0
mov byte [esp + 0xb], ch
and dl, ah
mov byte [esp + 0xc], dl
or al, cl
mov byte [esp + 0xd], al
mov dl, byte [esp + 0xf]
mov ah, byte [esp + 0xe]
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0xd]
mov dh, byte [esp + 0xc]
mov ch, byte [esp + 0xb]
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 0x10040732
jmp 0x100407e8
add esp, 0xc8
pop esi
pop ebx
ret
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xa4]
mov cl, byte [ecx + eax]
mov byte [esp + 9], cl
mov ecx, 0x18
xor edx, edx
div ecx
mov eax, dword [esp + 0xbc]
mov al, byte [eax + edx]
mov byte [esp + 0xa], al
mov ecx, dword [esp + 0x8c]
mov bl, byte [esp + 0xa]
mov bh, byte [esp + 9]
mov dl, bh
xor dl, 0xff
and dl, 0x29
mov al, 0xff
xor al, 0x29
and bh, al
mov dh, bl
xor dh, 0xff
and dh, 0x29
and bl, al
mov eax, dword [esp + 0xc0]
or dl, bh
or dh, bl
xor dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, ecx
add eax, 0
mov eax, dword [esp + 0x8c]
xor ecx, ecx
sub ecx, 1
add eax, ecx
mov eax, dword [esp + 0x8c]
sub eax, 0x60675b73
jmp 0x10040482
mov eax, dword [0x1005f36c]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
add eax, 0x7bbe3f32
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax]
jmp 0x1004017f
jmp 0x1004033f
jmp 0x10040663