Function at 0x1002a2f0
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 0x1002a308
mov eax, dword [ecx]
bswap eax
xor edx, edx
mov dword [edi + 8], eax
add ecx, 4
je 0x1002a316
mov edx, dword [ecx]
bswap edx
mov dword [edi + 4], edx
cmp byte [ebp + 9], 0
jne 0x1002a453
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 + 0x1006ea50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
add edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ee50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006ea50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006e650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
add edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ee50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006ea50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006e650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
add edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
add edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ee50]
mov eax, ebx
sub edx, dword [ecx*4 + 0x1006ea50]
shr eax, 0x18
add edx, dword [eax*4 + 0x1006e650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
mov eax, ebx
xor edx, dword [ecx*4 + 0x1006e650]
shr eax, 8
movzx eax, al
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, bl
add edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
add edx, dword [ecx*4 + 0x1006e650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
sub edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ee50]
sub edx, dword [ecx*4 + 0x1006ea50]
movzx eax, byte [edi]
add edx, dword [esi*4 + 0x1006e650]
xor edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
xor edx, dword [ecx*4 + 0x1006e650]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
add edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
add edx, dword [ecx*4 + 0x1006e650]
movzx eax, bl
xor edx, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
sub edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ee50]
sub edx, dword [ecx*4 + 0x1006ea50]
add edx, dword [esi*4 + 0x1006e650]
movzx eax, byte [edi]
xor edx, dword [eax*4 + 0x1006f250]
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 + 0x1006ea50]
xor edx, dword [ecx*4 + 0x1006e650]
movzx eax, bl
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
add edx, dword [eax*4 + 0x1006f250]
xor dword [edi + 4], edx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
bswap edx
test eax, eax
je 0x1002a7d8
xor edx, dword [eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1002a7e2
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 0x1002a7fc
xor eax, dword [ecx]
test edx, edx
je 0x1002a802
mov dword [edx], eax
ret 0xc