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

Disassembly:
push 0xffffffffffffffff
push 0x604b19
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x767500]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x767500]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xd0]
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push ebp
mov esi, ecx
mov dword [esp + 0x44], ebp
call dword [0x60820c]
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x50c097
push ebp
push 0x6171c4
call fcn.00506330
add esp, 8
cmp dword [esi + 0x10], 0xffffffff
jne 0x50c0a4
xor eax, eax
jmp 0x50c513
lea eax, [esp + 0xb4]
push 8
push eax
call fcn.00500830
mov eax, dword [esi + 0x10]
add esp, 8
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0xc0]
push edx
push eax
call dword [0x608210]
test eax, eax
jne 0x50c0e8
push ebp
push 0x6171a0
call fcn.005063c0
add esp, 8
mov byte [0], bl
cmp dword [esp + 0x18], 4
je 0x50c103
push ebp
push 0x6171a0
call fcn.005063c0
add esp, 8
mov byte [0], bl
mov edi, 0x617148
lea ecx, [esp + 0xb4]
nop
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x50c130
cmp al, bl
je 0x50c12c
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x50c130
add ecx, 2
add edi, 2
cmp al, bl
jne 0x50c110
xor eax, eax
jmp 0x50c135
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x50c14d
push ebp
push 0x6171a0
call fcn.005063c0
add esp, 8
mov byte [0], bl
mov edx, dword [esi + 0x10]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edi, [esi + 0x118]
push edi
push edx
call dword [0x608210]
cmp eax, ebx
jne 0x50c17e
push ebp
push 0x617178
call fcn.005063c0
add esp, 8
mov byte [0], bl
cmp dword [esp + 0x18], 4
je 0x50c199
push ebp
push 0x617178
call fcn.005063c0
add esp, 8
mov byte [0], bl
mov eax, dword [edi]
xor ecx, ecx
mov edx, 0x48
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0055b83f
push 0x20
mov dword [esi + 4], eax
call fcn.0055d594
mov ebp, eax
add esp, 8
mov dword [esp + 0x20], ebp
mov dword [esp + 0xc8], ebx
cmp ebp, ebx
je 0x50c1e2
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
push ecx
mov ecx, ebp
call fcn.0050b7b0
jmp 0x50c1e4
xor ebp, ebp
mov eax, dword [edi]
mov ecx, dword [esi + 4]
lea eax, [eax + eax*8]
push ebx
add eax, eax
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esi + 0x10]
add eax, eax
add eax, eax
push eax
push ecx
push edx
mov dword [esp + 0xdc], 0xffffffff
mov dword [esi + 8], ebp
call dword [0x608210]
cmp eax, ebx
jne 0x50c22e
mov eax, dword [esp + 0x28]
push eax
push 0x617178
call fcn.005063c0
add esp, 8
mov byte [0], bl
mov edi, dword [edi]
lea ecx, [edi + edi*8]
add ecx, ecx
add ecx, ecx
add ecx, ecx
cmp dword [esp + 0x18], ecx
je 0x50c257
mov edx, dword [esp + 0x28]
push edx
push 0x617178
call fcn.005063c0
add esp, 8
mov byte [0], bl
mov eax, dword [esi + 4]
push str.__key__.dat
push eax
xor edi, edi
call fcn.00560312
add esp, 8
test eax, eax
jne 0x50c345
mov ebp, 1
mov dword [esi + 0x11c], ebp
mov ecx, dword [0x7af290]
call fcn.00435330
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 0x44]
mov ecx, dword [0x7af290]
push edx
mov edi, eax
call fcn.004352a0
mov ecx, dword [0x7af290]
call fcn.00435330
mov ecx, dword [esi + 0x120]
mov dword [esp + 0x2c], eax
push 4
lea eax, [esp + 0x30]
push eax
call fcn.00554ee0
mov ecx, dword [0x7af290]
push edi
call fcn.004352a0
cmp dword [esi + 0x118], ebp
jbe 0x50c340
mov edi, 0x48
mov ecx, dword [esi + 4]
mov edx, dword [edi + ecx + 0x40]
lea eax, [edi + ecx]
add edx, ebp
push 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0x44]
push ecx
mov edx, ecx
mov ecx, dword [esi + 0x120]
push edx
mov dword [esp + 0x30], eax
call fcn.00554fb0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov dword [edi + eax + 0x40], ecx
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x24]
mov dword [edi + edx + 0x44], eax
mov edx, dword [esi + 0x124]
mov ecx, dword [esi + 4]
lea eax, [edi + ecx]
mov ecx, dword [esi + 0x120]
add edx, ebp
push edx
push eax
push eax
call fcn.00555600
inc ebp
add edi, 0x48
cmp ebp, dword [esi + 0x118]
jb 0x50c2d6
mov edi, 1
cmp edi, dword [esi + 0x118]
jae 0x50c4f2
lea eax, [edi + edi*8]
add eax, eax
add eax, eax
add eax, eax
mov dword [esp + 0x1c], eax
mov ebp, 0xf
jmp 0x50c369
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [eax + ecx + 0x40]
add eax, ecx
mov ecx, dword [eax + 0x44]
push eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
call fcn.00500100
mov ecx, dword [esi + 4]
add esp, 4
add ecx, dword [esp + 0x1c]
mov dword [esp + 0x70], ebp
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov dword [esp + 0x20], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x50c3a2
sub eax, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00402a80
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0xd4], 1
mov dword [esp + 0x54], ebp
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00402920
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], edi
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd4], 2
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa0], ebx
mov byte [esp + 0x90], bl
call fcn.00402920
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0xd0], 3
call fcn.0050bec0
cmp dword [esp + 0x98], 0x10
jb 0x50c480
mov eax, dword [esp + 0x84]
push eax
call fcn.0055d56e
add esp, 4
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
jb 0x50c4a9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0055d56e
add esp, 4
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0xc8], 0xffffffff
jb 0x50c4d4
mov edx, dword [esp + 0x5c]
push edx
call fcn.0055d56e
add esp, 4
add dword [esp + 0x1c], 0x48
inc edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp edi, dword [esi + 0x118]
jb 0x50c365
add esi, 0x14
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.004ffd80
push esi
push 0x61715c
call fcn.00506330
add esp, 0x10
mov eax, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0055d4e2
add esp, 0xb8
ret 4