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

Disassembly:
push ebx
push esi
sub esp, 0x80
mov eax, dword [esp + 0x90]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x78], ecx
add eax, 0x1e
mov dword [esp + 0x7c], eax
mov eax, dword [0x10063378]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x70]
add eax, 0x56312c4c
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
cmp eax, 1
sete al
mov byte [esp + 0x67], al
mov cl, byte [esp + 0x67]
xor eax, eax
test cl, 1
mov dword [esp + 0x60], eax
jne 0x100470a0
jmp 0x10046d9b
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
mov ecx, dword [0x10064c38]
mov eax, dword [0x10064c34]
mov edx, ecx
sub edx, 0x5fbdc8ee
sub edx, 1
add edx, 0x5fbdc8ee
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 0x10046e0c
jmp 0x10047131
mov eax, dword [0x10064c38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x58]
mov ecx, dword [0x10064c34]
mov dword [esp + 0x50], ecx
sub eax, 0x550af7d2
sub eax, 1
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
add eax, 0x550af7d2
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
imul eax, ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
and eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
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 0x10046e7f
jmp 0x10047131
mov eax, dword [0x10064c38]
mov dword [esp + 0x3c], eax
mov eax, dword [0x10064c34]
mov dword [esp + 0x40], eax
xor eax, eax
sub eax, 1
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov edx, eax
add edx, esi
imul eax, edx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x32], al
cmp ecx, 0xa
setl cl
mov byte [esp + 0x33], cl
xor al, 0xff
mov byte [esp + 0x34], al
xor cl, 0xff
mov byte [esp + 0x35], cl
mov cl, 1
xor cl, 1
mov byte [esp + 0x36], cl
and al, 0xff
mov byte [esp + 0x37], al
mov al, byte [esp + 0x36]
mov dl, byte [esp + 0x35]
mov cl, byte [esp + 0x34]
mov ah, byte [esp + 0x37]
mov dh, byte [esp + 0x33]
mov bl, byte [esp + 0x32]
and bl, al
mov ch, dl
and ch, 0xff
and dh, al
or ah, bl
or ch, dh
xor ah, ch
mov byte [esp + 0x2f], ah
or cl, dl
xor cl, 0xff
mov byte [esp + 0x30], cl
or al, 1
mov byte [esp + 0x31], al
mov cl, byte [esp + 0x31]
mov al, byte [esp + 0x30]
and al, cl
mov byte [esp + 0x2e], al
mov cl, byte [esp + 0x2e]
mov al, byte [esp + 0x2f]
or al, cl
test al, 1
jne 0x10046f3f
jmp 0x100470a9
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x7c]
mov cl, byte [ecx + eax]
mov byte [esp + 0x2b], cl
mov esi, 0x1e
xor edx, edx
div esi
mov eax, dword [esp + 0x74]
mov al, byte [eax + edx]
mov byte [esp + 0x2c], al
xor cl, 0xff
and al, cl
mov byte [esp + 0x2d], al
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x78]
mov dl, byte [esp + 0x2d]
mov dh, byte [esp + 0x2b]
mov bl, byte [esp + 0x2c]
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [ecx + eax], dl
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, 0x13
sete al
mov byte [esp + 0x2a], al
mov eax, dword [0x10064c38]
mov dword [esp + 0x18], eax
mov ecx, dword [0x10064c34]
mov dword [esp + 0x1c], ecx
sub eax, 0xcd179c25
sub eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add ecx, 0xcd179c25
imul eax, ecx
and eax, 1
cmp eax, 0
sete al
mov byte [esp + 0x17], al
mov ah, byte [esp + 0x17]
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
setl al
mov ch, ah
xor ch, 0xff
mov byte [esp + 0x10], ch
mov dl, al
xor dl, 0xff
mov byte [esp + 0x11], dl
mov cl, 1
xor cl, 1
mov byte [esp + 0x12], cl
and ch, 0xff
mov byte [esp + 0x13], ch
and ah, cl
mov byte [esp + 0x14], ah
and dl, 0xff
mov byte [esp + 0x15], dl
and al, cl
mov byte [esp + 0x16], al
mov dl, byte [esp + 0x12]
mov ah, byte [esp + 0x11]
mov cl, byte [esp + 0x10]
mov dh, byte [esp + 0x16]
mov ch, byte [esp + 0x15]
mov bl, byte [esp + 0x14]
mov al, byte [esp + 0x13]
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 0x10047061
jmp 0x100470a9
mov eax, dword [esp + 0x24]
mov cl, byte [esp + 0x2a]
test cl, 1
mov dword [esp + 0x60], eax
jne 0x1004707b
jmp 0x10046d9b
mov eax, dword [0x10063378]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
add eax, 0x56312c4c
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [eax], 1
jmp 0x100470a0
add esp, 0x80
pop esi
pop ebx
ret
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x7c]
add eax, ecx
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 4]
mov al, byte [eax]
mov byte [esp + 3], al
mov eax, 0x10ba42fa
add eax, 0
sub eax, ecx
sub eax, 0x10ba42fa
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x5c]
mov esi, 0x1e
xor edx, edx
div esi
mov al, byte [esp + 3]
mov cl, byte [ecx + edx]
mov byte [esp + 1], cl
sub al, 0xf1
mov byte [esp + 2], al
mov cl, byte [esp + 1]
mov al, byte [esp + 2]
sub al, cl
add al, 0xf1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x78]
mov dh, byte [esp + 3]
mov bl, byte [esp + 1]
mov bh, dh
xor bh, 0xff
mov dl, bl
and dl, bh
xor bl, 0xff
and dh, bl
or dl, dh
mov byte [eax + ecx], dl
xor eax, eax
sub eax, ecx
add eax, 0
jmp 0x10046f3f
jmp 0x10046e0c