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

Disassembly:
sub esp, 0xd8
mov eax, dword [0x1004e3b0]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebp
push esi
push edi
xor eax, eax
mov ebp, dword [esp + 0xe8]
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 [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], 0xffffffff
mov dword [ecx + 0x20], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x5f
jmp 0x10036534
mov ecx, dword [esp + 0x1c]
cmp dword [esp + 0x10], 0
je 0x1003654b
push ecx
push ebx
mov edi, ebx
mov edx, ebp
mov esi, ebp
call fcn.100359f0
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0x1004c7c0
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 2
jmp 0x10036574
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0xec]
lea ecx, [eax - 0x40]
mov dword [esp + 0xc], ecx
lea edx, [eax + 0x80]
sar edx, 3
movzx edx, byte [edx + esi]
mov cl, al
and cl, 7
shr dl, cl
lea ecx, [eax + 0x40]
and dl, 1
movsx edi, dl
mov edx, ecx
sar edx, 3
movzx edx, byte [edx + esi]
and cl, 7
shr dl, cl
add edi, edi
and dl, 1
movsx ecx, dl
or edi, ecx
mov edx, eax
mov cl, al
sar edx, 3
movzx eax, byte [edx + esi]
and cl, 7
shr al, cl
add edi, edi
and al, 1
movsx ecx, al
or edi, ecx
mov ecx, dword [esp + 0xc]
mov edx, ecx
sar edx, 3
movzx eax, byte [edx + esi]
mov esi, dword [esp + 0x24]
and cl, 7
shr al, cl
add edi, edi
lea edx, [esp + 0x50]
and al, 1
movsx ecx, al
or edi, ecx
push edi
mov eax, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], edi
call fcn.10036240
mov eax, dword [esp + 0x20]
mov edx, ecx
push edx
push eax
add esi, 0x438
lea ecx, [esp + 0xc8]
push ebp
push ecx
mov dword [esp + 0x38], esi
lea edx, [esp + 0x64]
mov ecx, ebx
lea edi, [esp + 0xac]
lea esi, [esp + 0x88]
call fcn.10035b60
mov eax, dword [ebp]
mov edx, dword [esp + 0x3c]
mov ecx, eax
xor ecx, dword [esp + 0x64]
add esp, 0x14
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 4]
mov dword [ebp], ecx
mov ecx, eax
xor ecx, dword [esp + 0x54]
and ecx, edx
xor ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp + 4], ecx
mov ecx, eax
xor ecx, dword [esp + 0x58]
and ecx, edx
xor ecx, eax
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
mov ecx, eax
xor ecx, dword [esp + 0x5c]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x10]
mov ecx, eax
xor ecx, dword [esp + 0x60]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0x14]
mov ecx, eax
xor ecx, dword [esp + 0x64]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0x18]
mov ecx, eax
xor ecx, dword [esp + 0x68]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x18], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, eax
xor ecx, dword [esp + 0x6c]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x1c], ecx
mov eax, dword [ebp + 0x20]
mov ecx, eax
xor ecx, dword [esp + 0x70]
and ecx, edx
xor ecx, eax
mov dword [ebp + 0x20], ecx
mov eax, dword [ebx]
mov ecx, eax
xor ecx, dword [esp + 0x2c]
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 4]
mov dword [ebx], ecx
mov ecx, eax
xor ecx, dword [esp + 0x30]
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x34]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x38]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x3c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov ecx, dword [esp + 0x40]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov ecx, dword [esp + 0x44]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x18], ecx
mov ecx, dword [esp + 0x48]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x4c]
xor ecx, eax
and ecx, edx
xor ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x20], ecx
mov ecx, dword [eax]
mov esi, ecx
xor esi, 2
and esi, edx
xor esi, ecx
mov dword [eax], esi
mov ecx, dword [eax + 0xc]
mov esi, edx
not esi
and esi, dword [eax + 4]
mov dword [eax + 4], esi
mov esi, edx
not esi
and esi, dword [eax + 8]
mov dword [eax + 8], esi
mov esi, ecx
xor esi, 0xffff800
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 0xc], esi
mov esi, ecx
xor esi, 0x1fffffff
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], esi
mov esi, ecx
xor esi, 0xfffffff
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x14], esi
mov esi, ecx
xor esi, 0x1fbfffff
and esi, edx
xor esi, ecx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 0x18], esi
mov esi, ecx
xor esi, 0x1ffffff
and esi, edx
xor esi, ecx
mov dword [eax + 0x1c], esi
mov esi, edx
not esi
and esi, dword [eax + 0x20]
mov ecx, edx
mov dword [eax + 0x20], esi
mov esi, dword [esp + 0xc]
dec esi
shr esi, 0x1f
dec esi
mov dword [esp + 0xc], esi
not ecx
and ecx, esi
mov esi, dword [ebp]
mov edi, esi
xor edi, dword [esp + 0x74]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 4]
mov dword [ebp], edi
mov edi, esi
xor edi, dword [esp + 0x78]
and edi, ecx
xor edi, esi
mov esi, dword [ebp + 8]
mov dword [ebp + 4], edi
mov edi, esi
xor edi, dword [esp + 0x7c]
and edi, ecx
xor edi, esi
mov dword [ebp + 8], edi
mov esi, dword [ebp + 0xc]
mov edi, esi
xor edi, dword [esp + 0x80]
and edi, ecx
xor edi, esi
mov dword [ebp + 0xc], edi
mov esi, dword [ebp + 0x10]
mov edi, esi
xor edi, dword [esp + 0x84]
and edi, ecx
xor edi, esi
mov dword [ebp + 0x10], edi
mov esi, dword [ebp + 0x14]
mov edi, dword [esp + 0x88]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebp + 0x14], edi
mov esi, dword [ebp + 0x18]
mov edi, dword [esp + 0x8c]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebp + 0x18], edi
mov esi, dword [ebp + 0x1c]
mov edi, dword [esp + 0x90]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebp + 0x1c], edi
mov esi, dword [ebp + 0x20]
mov edi, dword [esp + 0x94]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebp + 0x20], edi
mov esi, dword [ebx]
mov edi, dword [esp + 0x98]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 4]
mov dword [ebx], edi
mov edi, dword [esp + 0x9c]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 8]
mov dword [ebx + 4], edi
mov edi, dword [esp + 0xa0]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0xc]
mov dword [ebx + 8], edi
mov edi, dword [esp + 0xa4]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0xc], edi
mov edi, dword [esp + 0xa8]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x14]
mov dword [ebx + 0x10], edi
mov edi, dword [esp + 0xac]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [ebx + 0x18]
mov dword [ebx + 0x14], edi
mov edi, dword [esp + 0xb0]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebx + 0x18], edi
mov esi, dword [ebx + 0x1c]
mov edi, dword [esp + 0xb4]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebx + 0x1c], edi
mov esi, dword [ebx + 0x20]
mov edi, dword [esp + 0xb8]
xor edi, esi
and edi, ecx
xor edi, esi
mov dword [ebx + 0x20], edi
mov esi, dword [eax]
mov edi, dword [esp + 0xbc]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 4]
mov dword [eax], edi
mov edi, dword [esp + 0xc0]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 8]
mov dword [eax + 4], edi
mov edi, dword [esp + 0xc4]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0xc]
mov dword [eax + 8], edi
mov edi, dword [esp + 0xc8]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x10]
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0xcc]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x14]
mov dword [eax + 0x10], edi
mov edi, dword [esp + 0xd0]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x18]
mov dword [eax + 0x14], edi
mov edi, dword [esp + 0xd4]
xor edi, esi
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x1c]
mov dword [eax + 0x18], edi
add dword [esp + 0x18], 0x20
mov edi, esi
xor edi, dword [esp + 0xd8]
and edi, ecx
xor edi, esi
mov esi, dword [eax + 0x20]
mov dword [eax + 0x1c], edi
mov edi, esi
xor edi, dword [esp + 0xdc]
and edi, ecx
xor edi, esi
mov dword [eax + 0x20], edi
mov eax, dword [esp + 0xc]
not eax
and edx, eax
dec dword [esp + 0x20]
mov dword [esp + 0x28], edx
jne 0x10036570
mov eax, dword [esp + 0x14]
inc dword [esp + 0x10]
dec eax
mov dword [esp + 0x14], eax
cmp eax, 0x3f
jg 0x10036530
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.1003d054
add esp, 0xd8
ret