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

Disassembly:
sub esp, 0xd4
mov eax, dword [0x1005d3b0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0xec]
or eax, 0xffffffff
mov ebp, dword [esp + 0xe8]
mov dword [esp + 0x10], eax
xor eax, eax
mov esi, dword [esp + 0xf0]
mov dword [ebp], eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov edi, 0x5f
mov dword [esi + 0x1c], eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
test eax, eax
je 0x10036a58
push esi
push ebx
push ebp
push esi
push ebx
push ebp
call fcn.10036760
add esp, 0x18
mov eax, edi
mov dword [esp + 0x20], 0x100577c0
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], 2
mov edi, edi
mov edi, dword [esp + 0xf4]
lea ecx, [eax + 0x80]
lea edx, [eax + 0x40]
lea ebx, [eax - 0x40]
mov eax, ecx
sar eax, 3
and cl, 7
movzx eax, byte [eax + edi]
shr al, cl
mov ecx, dword [esp + 0xf4]
and al, 1
movsx edi, al
mov eax, edx
sar eax, 3
and dl, 7
add edi, edi
movzx eax, byte [eax + ecx]
mov cl, dl
mov edx, dword [esp + 0xf4]
shr al, cl
mov ecx, dword [esp + 0x14]
and al, 1
movsx eax, al
or edi, eax
mov eax, ecx
sar eax, 3
and cl, 7
add edi, edi
movzx eax, byte [eax + edx]
shr al, cl
and al, 1
movsx eax, al
or edi, eax
mov eax, ebx
sar eax, 3
and bl, 7
mov cl, bl
add edi, edi
mov ebx, dword [esp + 0x20]
movzx eax, byte [eax + edx]
shr al, cl
and al, 1
movsx eax, al
or edi, eax
lea eax, [esp + 0x50]
push edi
push ebx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.100373a0
lea eax, [esp + 0x60]
add ebx, 0x438
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x3c]
push eax
push esi
push ebx
push ebp
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xa0]
push eax
call fcn.10036250
mov ecx, dword [ebp]
add esp, 0x30
xor ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
and ecx, edx
xor dword [ebp], ecx
mov ecx, dword [ebp + 4]
xor ecx, dword [esp + 0x30]
and ecx, edx
xor dword [ebp + 4], ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [esp + 0x34]
and ecx, edx
xor dword [ebp + 8], ecx
mov eax, edx
mov ecx, dword [ebp + 0xc]
not eax
xor ecx, dword [esp + 0x38]
and ecx, edx
xor dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 0x10]
xor ecx, dword [esp + 0x3c]
and ecx, edx
xor dword [ebp + 0x10], ecx
mov ecx, dword [ebp + 0x14]
xor ecx, dword [esp + 0x40]
and ecx, edx
xor dword [ebp + 0x14], ecx
mov ecx, dword [ebp + 0x18]
xor ecx, dword [esp + 0x44]
and ecx, edx
xor dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0x1c]
xor ecx, dword [esp + 0x48]
and ecx, edx
xor dword [ebp + 0x1c], ecx
mov ecx, dword [ebp + 0x20]
xor ecx, dword [esp + 0x4c]
and ecx, edx
xor dword [ebp + 0x20], ecx
mov ecx, dword [ebx]
xor ecx, dword [esp + 0x50]
and ecx, edx
xor dword [ebx], ecx
mov ecx, dword [ebx + 4]
xor ecx, dword [esp + 0x54]
and ecx, edx
xor dword [ebx + 4], ecx
mov ecx, dword [esp + 0x58]
xor ecx, dword [ebx + 8]
and ecx, edx
xor dword [ebx + 8], ecx
mov ecx, dword [esp + 0x5c]
xor ecx, dword [ebx + 0xc]
and ecx, edx
xor dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x60]
xor ecx, dword [ebx + 0x10]
and ecx, edx
xor dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x64]
xor ecx, dword [ebx + 0x14]
and ecx, edx
xor dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x68]
xor ecx, dword [ebx + 0x18]
and ecx, edx
xor dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x6c]
xor ecx, dword [ebx + 0x1c]
and ecx, edx
xor dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x70]
xor ecx, dword [ebx + 0x20]
and ecx, edx
xor dword [ebx + 0x20], ecx
mov ecx, dword [esi]
and dword [esi + 4], eax
xor ecx, 2
and ecx, edx
mov eax, edx
xor dword [esi], ecx
not eax
mov ecx, dword [esi + 0xc]
and dword [esi + 8], eax
xor ecx, 0xffff800
and ecx, edx
xor dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x10]
xor ecx, 0x1fffffff
and ecx, edx
xor dword [esi + 0x10], ecx
mov ecx, dword [esi + 0x14]
xor ecx, 0xfffffff
and ecx, edx
mov eax, edx
xor dword [esi + 0x14], ecx
dec edi
mov ecx, dword [esi + 0x18]
not eax
and dword [esi + 0x20], eax
xor ecx, 0x1fbfffff
and ecx, edx
shr edi, 0x1f
xor dword [esi + 0x18], ecx
dec edi
mov ecx, dword [esi + 0x1c]
xor ecx, 0x1ffffff
and ecx, edx
not edx
xor dword [esi + 0x1c], ecx
and edx, edi
mov ecx, dword [ebp]
xor ecx, dword [esp + 0x74]
and ecx, edx
xor dword [ebp], ecx
mov ecx, dword [esp + 0x78]
xor ecx, dword [ebp + 4]
and ecx, edx
xor dword [ebp + 4], ecx
mov ecx, dword [esp + 0x7c]
xor ecx, dword [ebp + 8]
and ecx, edx
xor dword [ebp + 8], ecx
mov ecx, dword [esp + 0x80]
xor ecx, dword [ebp + 0xc]
and ecx, edx
xor dword [ebp + 0xc], ecx
mov ecx, dword [esp + 0x84]
xor ecx, dword [ebp + 0x10]
and ecx, edx
xor dword [ebp + 0x10], ecx
mov ecx, dword [esp + 0x88]
xor ecx, dword [ebp + 0x14]
and ecx, edx
xor dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x8c]
xor ecx, dword [ebp + 0x18]
and ecx, edx
xor dword [ebp + 0x18], ecx
mov ecx, dword [esp + 0x90]
xor ecx, dword [ebp + 0x1c]
and ecx, edx
xor dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x94]
xor ecx, dword [ebp + 0x20]
and ecx, edx
xor dword [ebp + 0x20], ecx
mov ecx, dword [esp + 0x98]
xor ecx, dword [ebx]
and ecx, edx
xor dword [ebx], ecx
mov ecx, dword [esp + 0x9c]
xor ecx, dword [ebx + 4]
and ecx, edx
xor dword [ebx + 4], ecx
mov ecx, dword [esp + 0xa0]
xor ecx, dword [ebx + 8]
and ecx, edx
xor dword [ebx + 8], ecx
mov ecx, dword [esp + 0xa4]
xor ecx, dword [ebx + 0xc]
and ecx, edx
xor dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0xa8]
xor ecx, dword [ebx + 0x10]
and ecx, edx
xor dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0xac]
xor ecx, dword [ebx + 0x14]
and ecx, edx
xor dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0xb0]
xor ecx, dword [ebx + 0x18]
and ecx, edx
xor dword [ebx + 0x18], ecx
not edi
mov ecx, dword [esp + 0xb4]
xor ecx, dword [ebx + 0x1c]
and ecx, edx
mov eax, dword [esp + 0x14]
xor dword [ebx + 0x1c], ecx
add eax, 0x20
mov ecx, dword [esp + 0xb8]
xor ecx, dword [ebx + 0x20]
and ecx, edx
and dword [esp + 0x10], edi
xor dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0xbc]
xor ecx, dword [esi]
and ecx, edx
mov dword [esp + 0x14], eax
xor dword [esi], ecx
mov ecx, dword [esp + 0xc0]
xor ecx, dword [esi + 4]
and ecx, edx
xor dword [esi + 4], ecx
mov ecx, dword [esp + 0xc4]
xor ecx, dword [esi + 8]
and ecx, edx
xor dword [esi + 8], ecx
mov ecx, dword [esp + 0xc8]
xor ecx, dword [esi + 0xc]
and ecx, edx
xor dword [esi + 0xc], ecx
mov ecx, dword [esp + 0xcc]
xor ecx, dword [esi + 0x10]
and ecx, edx
xor dword [esi + 0x10], ecx
mov ecx, dword [esp + 0xd0]
xor ecx, dword [esi + 0x14]
and ecx, edx
xor dword [esi + 0x14], ecx
mov ecx, dword [esp + 0xd4]
xor ecx, dword [esi + 0x18]
and ecx, edx
xor dword [esi + 0x18], ecx
mov ecx, dword [esi + 0x1c]
xor ecx, dword [esp + 0xd8]
and ecx, edx
xor dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
xor ecx, dword [esp + 0xdc]
and ecx, edx
xor dword [esi + 0x20], ecx
dec dword [esp + 0x24]
jne 0x10036a70
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
dec edi
inc eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
cmp edi, 0x3f
jg 0x10036a46
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003cf2f
add esp, 0xd4
ret