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

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
xor eax, eax
push esi
mov esi, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], esi
push edi
mov edi, dword [esi + 0xbc]
test ecx, ecx
je 0x1002a830
mov eax, dword [ecx]
bswap eax
xor edx, edx
mov dword [edi + 4], eax
add ecx, 4
je 0x1002a83e
mov edx, dword [ecx]
bswap edx
mov dword [edi + 8], edx
mov eax, dword [esi + 0x9c]
push ebx
mov ebx, dword [eax]
movzx ecx, byte [eax + 0x40]
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 + 4], edx
mov eax, dword [esi + 0x9c]
mov ebx, dword [eax + 4]
movzx ecx, byte [eax + 0x44]
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 [esi + 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
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 [esi + 0x9c]
mov ebx, dword [eax + 0xc]
movzx ecx, byte [eax + 0x4c]
add ebx, dword [edi + 4]
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 + 8], edx
mov eax, dword [esi + 0x9c]
mov ebx, dword [eax + 0x10]
movzx ecx, byte [eax + 0x50]
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 [esi + 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
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 [esi + 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
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 eax, dword [esi + 0x9c]
mov esi, dword [eax + 0x1c]
movzx ecx, byte [eax + 0x5c]
xor esi, dword [edi + 4]
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]
mov esi, dword [esp + 0x10]
xor edx, dword [eax*4 + 0x1006f250]
xor dword [edi + 8], edx
mov eax, dword [esi + 0x9c]
mov ebx, dword [eax + 0x20]
movzx ecx, byte [eax + 0x60]
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 [esi + 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
shr ebx, 8
mov edx, dword [eax*4 + 0x1006ea50]
xor edx, dword [ecx*4 + 0x1006e650]
movzx eax, bl
mov ebx, esi
sub edx, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
add edx, dword [eax*4 + 0x1006f250]
xor dword [edi + 8], edx
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax + 0x28]
movzx ecx, byte [eax + 0x68]
xor esi, dword [edi + 8]
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 + 4], edx
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax + 0x2c]
movzx ecx, byte [eax + 0x6c]
sub edx, dword [edi + 4]
rol edx, cl
mov dword [edi], edx
mov eax, edx
shr eax, 0x10
mov ecx, edx
movzx eax, al
shr ecx, 0x18
shr edx, 8
mov esi, dword [eax*4 + 0x1006ea50]
add esi, dword [ecx*4 + 0x1006e650]
movzx eax, dl
xor esi, dword [eax*4 + 0x1006ee50]
movzx eax, byte [edi]
sub esi, dword [eax*4 + 0x1006f250]
xor esi, dword [edi + 8]
mov dword [edi + 8], esi
cmp byte [ebx + 9], 0
jne 0x1002acff
mov eax, dword [ebx + 0x9c]
mov ebx, dword [eax + 0x30]
movzx ecx, byte [eax + 0x70]
add ebx, esi
rol ebx, cl
mov dword [edi], ebx
mov eax, ebx
shr eax, 0x10
mov ecx, ebx
movzx eax, al
mov esi, dword [esp + 0x10]
shr ecx, 0x18
mov edx, dword [eax*4 + 0x1006ea50]
mov eax, ebx
shr eax, 8
xor edx, dword [ecx*4 + 0x1006e650]
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 [esi + 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 [esi + 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 [esi + 0x9c]
mov ebx, dword [eax + 0x3c]
movzx ecx, byte [eax + 0x7c]
add ebx, dword [edi + 4]
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 + 8], edx
mov esi, dword [edi + 8]
bswap esi
pop ebx
test ebp, ebp
je 0x1002ad09
xor esi, dword [ebp]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002ad13
mov dword [eax], esi
test ebp, ebp
lea edx, [eax + 4]
mov eax, dword [edi + 4]
lea ecx, [ebp + 4]
pop edi
cmove ecx, ebp
pop esi
bswap eax
pop ebp
test ecx, ecx
je 0x1002ad2c
xor eax, dword [ecx]
test edx, edx
je 0x1002ad32
mov dword [edx], eax
pop ecx
ret 0xc