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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 8]
lea edx, [esp + 0x90]
lea esi, [0x875038]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], ecx
mov eax, dword [esp + 0xb4]
mov ecx, eax
add ecx, 0x1a10
mov edi, dword [esp + 0xb8]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], eax
call fcn.004e59a0
mov eax, esp
mov ecx, dword [esp + 0x7c]
call fcn.00510b40
lea edx, [esp + 0x90]
mov dword [eax + 4], edx
lea edx, [esp + 0xa8]
mov dword [eax], edx
mov ecx, dword [esp + 0x78]
call fcn.004c34e0
sub esp, 0xc
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x80]
call fcn.00510b50
mov eax, dword [esp + 0xac]
mov dword [ecx + 4], eax
call fcn.004d6190
mov byte [esp + 0x77], al
lea ecx, [esp + 0x90]
call fcn.00551e20
mov al, byte [esp + 0x77]
test al, 1
jne 0x51073e
jmp 0x510b33
mov dword [esp + 0x84], 0
cmp dword [esp + 0x84], 0x123
jae 0x510827
mov eax, 0
mov ecx, 0x5556d6b8
mov edx, dword [esp + 0x84]
call fcn.00510b60
mov esi, dword [esp + 0x78]
call fcn.00510b70
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x5556d6b8
mov dword [esp + 0x10], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
call fcn.004d73d0
mov ecx, 0
mov edx, dword [esp + 0x84]
mov edx, dword [edx*8 + 0x872100]
mov esi, dword [esp + 0x78]
add esi, 0x9583d36
sub esi, 0x687b17d2
add esi, 0xf6a7c2ca
add esi, 0xabee2f65
add esi, edx
add esi, 0x5411d09b
mov edx, ecx
sub edx, esi
mov esi, ecx
add esi, 0x9784e82e
add edx, esi
sub ecx, edx
mov dword [ecx], eax
mov eax, 0x5b9458
mov eax, dword [eax]
mov ecx, dword [esp + 0x84]
add eax, 0x1e5b0fc1
add eax, 0xffffffff
add eax, 0xe1a4f03f
add ecx, 0x12b9e263
sub ecx, eax
add ecx, 0xed461d9d
mov dword [esp + 0x84], ecx
jmp 0x510749
mov eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov edx, dword [ecx + 4]
mov esi, edx
xor esi, 0xffffffff
and esi, 0xef195bd8
mov edi, eax
xor edi, 0xef195bd8
mov ebx, edx
and ebx, edi
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0xef195bd8
and edi, 0xffffffff
or esi, ebx
or ecx, edi
xor esi, ecx
mov ecx, eax
xor ecx, 0x800
and ecx, 0xffffffff
mov edi, eax
xor edi, 0xffffffff
and edi, 0x800
or ecx, edi
mov edi, eax
xor edi, 0x4c3befb7
and edi, 0x29330711
mov ebx, eax
xor ebx, 0x29330711
mov dword [esp + 0x68], eax
mov eax, 0xf
mov eax, ebx
and eax, 0x4c3befb7
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, 0x50e84a11
xor ecx, 0xaf17b5ee
xor eax, ecx
pop ecx
and eax, 0x29330711
and ebx, 0xffffffff
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
or edi, eax
mov eax, dword [esp + 0x60]
or eax, ebx
xor edi, eax
mov eax, dword [esp + 0x68]
xor eax, 0x30b0cd51
xor eax, 0x7c8b22e6
mov ebx, esi
xor ebx, eax
and ebx, esi
xor edx, 0xffffffff
mov eax, edi
xor eax, 0xffffffff
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor eax, 0xc13e4e34
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x5c]
or edx, eax
mov eax, dword [esp + 0x58]
or eax, 0xc13e4e34
xor edx, 0xffffffff
and edx, eax
mov eax, dword [esp + 0x68]
xor eax, 0x4c3befb7
mov dword [esp + 0x54], eax
mov eax, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x54]
xor eax, ecx
mov ecx, dword [esp + 0x50]
and eax, ecx
mov ecx, dword [esp + 0x68]
xor ecx, 0x800
mov dword [esp + 0x4c], eax
mov eax, edi
xor eax, 0x42bb0468
xor eax, 0xbd44fb97
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x68]
xor eax, 0x7768de41
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
or ecx, eax
mov eax, dword [esp + 0x44]
or eax, 0x7768de41
xor ecx, 0xffffffff
and ecx, eax
mov eax, ebx
and eax, edx
xor ebx, edx
or eax, ebx
mov edx, dword [esp + 0x4c]
and edx, ecx
mov ebx, dword [esp + 0x4c]
xor ebx, ecx
or edx, ebx
mov ecx, eax
xor ecx, 0xffffffff
mov ebx, edx
and ebx, ecx
xor edx, 0xffffffff
and eax, edx
or ebx, eax
mov eax, esi
xor eax, 0xffffffff
mov ecx, dword [esp + 0x50]
xor ecx, 0xffffffff
mov edx, dword [esp + 0x68]
xor edx, 0x547a8d25
mov dword [esp + 0x40], eax
and eax, 0x547a8d25
and esi, edx
mov dword [esp + 0x3c], eax
mov eax, ecx
and eax, 0x547a8d25
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
and eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
or eax, esi
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
or esi, eax
mov eax, dword [esp + 0x30]
xor eax, esi
mov esi, dword [esp + 0x40]
or esi, ecx
xor esi, 0xffffffff
or edx, 0x547a8d25
and esi, edx
or eax, esi
mov ecx, eax
xor ecx, 0xffffffff
and ecx, 0xffffffff
mov edx, dword [esp + 0x68]
push eax
mov eax, 0xfeb4e08
xor eax, 0xf014b1f7
xor edx, eax
pop eax
and eax, edx
or ecx, eax
mov eax, dword [esp + 0x68]
xor eax, 0x4c3befb7
mov edx, edi
xor edx, 0xffffffff
mov esi, dword [esp + 0x68]
xor esi, 0xc57b42f2
mov dword [esp + 0x2c], eax
and eax, 0xc57b42f2
mov dword [esp + 0x28], eax
mov eax, esi
and eax, 0x4c3befb7
mov dword [esp + 0x24], eax
mov eax, 0x437468
mov eax, edx
and eax, 0xc57b42f2
and edi, esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x24]
or eax, ecx
mov ecx, dword [esp + 0x20]
or ecx, edi
xor eax, ecx
mov ecx, dword [esp + 0x2c]
or ecx, edx
xor ecx, 0xffffffff
or esi, 0xc57b42f2
and ecx, esi
or eax, ecx
xor eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
xor ecx, eax
mov eax, dword [esp + 0x1c]
and ecx, eax
mov edx, ebx
xor edx, 0xffffffff
mov esi, ecx
xor esi, 0xffffffff
mov edi, dword [esp + 0x68]
push ebx
mov ebx, 0x2cc7e93
xor ebx, 0xc0ed981b
xor edi, ebx
pop ebx
mov eax, edx
and eax, 0xc221e688
and ebx, edi
mov dword [esp + 0x18], eax
mov eax, esi
and eax, 0xc221e688
and ecx, edi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
or eax, ebx
mov ebx, dword [esp + 0x14]
or ebx, ecx
xor eax, ebx
or edx, esi
xor edx, 0xffffffff
or edi, 0xc221e688
and edx, edi
or eax, edx
mov ecx, dword [esp + 0x78]
mov dword [ecx + 4], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4