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

Disassembly:
push ebx
push ebp
mov ebp, ecx
xor eax, eax
mov ecx, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0xbc]
test ecx, ecx
je 0x1002a838
mov eax, dword [ecx]
bswap eax
xor edx, edx
mov dword [edi + 8], eax
add ecx, 4
je 0x1002a846
mov edx, dword [ecx]
bswap edx
mov dword [edi + 4], edx
cmp byte [ebp + 9], 0
jne 0x1002a983
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x3c]
movzx ecx, byte [eax + 0x7c]
add ebx, edx
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x38]
movzx ecx, byte [eax + 0x78]
sub ebx, dword [edi + 8]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
sub edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x34]
movzx ecx, byte [eax + 0x74]
xor ebx, dword [edi + 4]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x1006fe50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006fa50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006f650]
movzx eax, bl
xor edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x30]
movzx ecx, byte [eax + 0x70]
add ebx, dword [edi + 8]
rol ebx, cl
mov eax, ebx
mov dword [edi], ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov edx, dword [edi + 4]
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x2c]
movzx ecx, byte [eax + 0x6c]
sub ebx, edx
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
sub edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x28]
movzx ecx, byte [eax + 0x68]
xor ebx, dword [edi + 8]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x1006fe50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006fa50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006f650]
movzx eax, bl
xor edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x24]
movzx ecx, byte [eax + 0x64]
add ebx, dword [edi + 4]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x20]
movzx ecx, byte [eax + 0x60]
sub ebx, dword [edi + 8]
rol ebx, cl
mov eax, ebx
mov dword [edi], ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
sub edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x1c]
movzx ecx, byte [eax + 0x5c]
xor ebx, dword [edi + 4]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x1006fe50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006fa50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006f650]
movzx eax, bl
xor edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x18]
movzx ecx, byte [eax + 0x58]
add ebx, dword [edi + 8]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006fa50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006f650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, bl
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0x14]
movzx ecx, byte [eax + 0x54]
sub ebx, dword [edi + 4]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
shr ebx, 8
mov edx, dword [eax*4 + 0x1006fa50]
add edx, dword [ecx*4 + 0x1006f650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006fe50]
movzx eax, byte [edi]
sub edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov esi, dword [eax + 0x10]
movzx ecx, byte [eax + 0x50]
xor esi, dword [edi + 8]
rol esi, cl
mov eax, esi
mov dword [edi], esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr esi, 0x18
mov edx, dword [eax*4 + 0x1006fe50]
sub edx, dword [ecx*4 + 0x1006fa50]
movzx eax, byte [edi]
add edx, dword [esi*4 + 0x1006f650]
xor edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 0xc]
movzx ecx, byte [eax + 0x4c]
add ebx, dword [edi + 4]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
shr ebx, 8
mov edx, dword [eax*4 + 0x1006fa50]
xor edx, dword [ecx*4 + 0x1006f650]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, byte [edi]
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax + 8]
movzx ecx, byte [eax + 0x48]
sub ebx, dword [edi + 8]
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
shr ebx, 8
mov edx, dword [eax*4 + 0x1006fa50]
add edx, dword [ecx*4 + 0x1006f650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006fe50]
movzx eax, byte [edi]
sub edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov eax, dword [ebp + 0x9c]
mov esi, dword [eax + 4]
movzx ecx, byte [eax + 0x44]
xor esi, dword [edi + 4]
rol esi, cl
mov dword [edi], esi
mov eax, esi
shr eax, 0x10
movzx ecx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr esi, 0x18
mov edx, dword [eax*4 + 0x1006fe50]
sub edx, dword [ecx*4 + 0x1006fa50]
add edx, dword [esi*4 + 0x1006f650]
movzx eax, byte [edi]
xor edx, dword [eax*4 + 0x10070250]
xor dword [edi + 8], edx
mov eax, dword [ebp + 0x9c]
mov ebx, dword [eax]
movzx ecx, byte [eax + 0x40]
add ebx, dword [edi + 8]
rol ebx, cl
mov eax, ebx
mov dword [edi], ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
shr ecx, 0x18
shr ebx, 8
mov edx, dword [eax*4 + 0x1006fa50]
xor edx, dword [ecx*4 + 0x1006f650]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006fe50]
movzx eax, byte [edi]
add edx, dword [eax*4 + 0x10070250]
xor dword [edi + 4], edx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
bswap edx
test eax, eax
je 0x1002ad08
xor edx, dword [eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1002ad12
mov dword [ecx], edx
test eax, eax
lea edx, [ecx + 4]
lea ecx, [eax + 4]
cmove ecx, eax
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebp
bswap eax
pop ebx
test ecx, ecx
je 0x1002ad2c
xor eax, dword [ecx]
test edx, edx
je 0x1002ad32
mov dword [edx], eax
ret 0xc