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

Disassembly:
push 0xffffffffffffffff
push 0x5b5b37
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [0x6249d8], esi
xor ebx, ebx
lea edi, [esi + 0x50]
mov ecx, edi
mov dword [esp + 0x80], ebx
mov dword [esi], 0x5d0060
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
call fcn.00450ab0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x60]
mov ecx, edi
mov byte [esp + 0x80], 1
mov dword [esi + 0x5c], ebx
call fcn.00450ab0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x7c]
mov ecx, edi
mov byte [esp + 0x80], 2
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
call fcn.00431bc0
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x88]
mov ecx, edi
mov byte [esp + 0x80], 3
call fcn.00450ab0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x94]
mov ecx, edi
mov byte [esp + 0x80], 4
call fcn.00450ab0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea ebp, [esi + 0xa4]
mov ecx, ebp
mov byte [esp + 0x80], 5
call fcn.00450ab0
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
lea edi, [esi + 0xb0]
mov ecx, edi
mov byte [esp + 0x80], 6
call fcn.00411ab0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
push 0x84
mov byte [esp + 0x84], 7
call fcn.0057a6d0
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x80], 8
je 0x509b56
push ebx
mov ecx, eax
call fcn.00515970
jmp 0x509b58
xor eax, eax
push 0x5ca310
mov ecx, eax
mov byte [esp + 0x84], 7
mov dword [esi + 0xa0], eax
call fcn.00515ef0
mov ecx, dword [esi + 0xa0]
call fcn.00513150
mov dword [esp + 0x28], 0x5d0084
mov dword [esp + 0x2c], 0x5d0078
mov dword [esp + 0x30], 0x5d0044
mov dword [esp + 0x34], 0x5d006c
mov dword [esp + 0x38], 0x5d0064
mov dword [esp + 0x14], ebx
lea esp, [esp]
push 0x84
call fcn.0057a6d0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x80], 9
je 0x509be5
push ebx
mov ecx, eax
call fcn.00515970
mov ecx, dword [esp + 0x10]
mov dword [ecx], 0x5cffa0
mov dword [esp + 0x10], ecx
jmp 0x509beb
mov dword [esp + 0x10], ebx
mov ecx, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + eax*4 + 0x28]
push eax
mov byte [esp + 0x84], 7
mov dword [esp + 0x1c], ecx
call fcn.00515ef0
mov ecx, dword [esp + 0x10]
call fcn.00513150
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + ecx*4 + 0x28]
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x509c30
mov edx, dword [esp + 0x14]
sub eax, ecx
push eax
mov eax, dword [esp + edx*4 + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.004041a0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 0xa
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.00403eb0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x74], ecx
lea edx, [esp + 0x58]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x88], 0xb
call fcn.005093e0
cmp dword [esp + 0x70], 0x10
jb 0x509caa
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0057ad56
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x80], 7
jb 0x509cd6
mov edx, dword [esp + 0x40]
push edx
call fcn.0057ad56
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xa0]
push eax
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
call fcn.00516230
mov eax, dword [ebp + 4]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00507780
push 1
mov ecx, ebp
mov dword [esp + 0x1c], eax
call fcn.00508420
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov edx, dword [eax + 4]
mov dword [edx], eax
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 5
mov dword [esp + 0x14], eax
jb 0x509bb0
mov ecx, dword [esi + 0x54]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x54]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x54]
mov dword [esi + 0x58], ebx
je 0x509d66
mov edi, dword [eax]
push eax
call fcn.0057ad56
mov ecx, dword [esi + 0x54]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x509d52
mov ecx, dword [esi + 0x64]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esi + 0x64]
mov dword [ecx + 4], ecx
cmp eax, dword [esi + 0x64]
mov dword [esi + 0x68], ebx
je 0x509d94
jmp 0x509d80
mov edi, dword [eax]
push eax
call fcn.0057ad56
mov ecx, dword [esi + 0x64]
add esp, 4
cmp edi, ecx
mov eax, edi
jne 0x509d80
push 0x5bbdb0
call dword [sym.imp.python22.dll_Py_BuildValue]
mov ecx, dword [esp + 0x7c]
add esp, 4
pop edi
mov dword [0x664c24], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret