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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov dword [esp + 0x20], ebp
mov esi, dword [ebp + 8]
test esi, esi
jne 0x555084
cmp dword [ebp + 0x74], esi
jne 0x555079
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x555079
mov byte [ebp + 0x17], 1
push ebp
call fcn.0052ec00
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x24]
mov ebx, eax
test eax, eax
je 0x55582c
push edi
cmp byte [ebx + 0x60], 0
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x14], edx
je 0x5550ab
xor ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x555194
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5550b9
mov ecx, dword [eax]
jmp 0x5550bb
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x555194
lea esp, [esp]
cmp edi, 1
jne 0x555128
cmp dword [edx + 0x20], str.nth_value
jne 0x555128
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x50]
inc eax
inc edx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x55510d
push eax
push edx
push dword [esp + 0x24]
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x55517f
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
inc edx
jmp 0x555168
mov eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x50]
add eax, edi
mov ecx, dword [esi + 0x74]
add edx, edi
cmp dword [esi + 0x78], ecx
jg 0x55514e
push eax
push edx
push dword [esp + 0x34]
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x55517f
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
add edx, edi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4], 0x5d
mov ecx, dword [esp + 0x18]
inc edi
mov edx, dword [esp + 0x14]
cmp edi, ecx
jl 0x5550d0
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x10], eax
cmp dword [edi + 0x58], 0
jne 0x55542e
test dword [edx + 4], 0x1000
je 0x55542e
cmp byte [ebx + 0x11], 0x5a
je 0x55542e
mov edi, dword [esi + 0x74]
cmp dword [esi + 0x78], edi
jg 0x5551e1
push 0
push 0
push eax
push 0x32
push esi
call fcn.004e2c80
mov edx, dword [esp + 0x48]
add esp, 0x14
mov edi, eax
jmp 0x555214
mov edx, dword [esp + 0x34]
lea eax, [edi + 1]
mov dword [esi + 0x74], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
jne 0x55537c
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x55523d
push 0
push 1
push edx
push 0x55
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x555270
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x55528f
push 0
push edx
push dword [esp + 0x3c]
push 0x50
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5552c2
mov ebp, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
lea eax, [edx + 2]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x5552e5
push eax
push 2
push edx
push 0x60
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x555318
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x40]
mov ecx, dword [esi + 0x74]
add edx, 2
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x555344
push 0
push edx
push eax
push 0x89
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x55540a
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x55540a
push 1
push edx
push 0
push dword [ebx + 0x3c]
push 0x19
push esi
call fcn.0052e310
mov ecx, dword [esi + 0x74]
add esp, 0x18
mov edx, dword [ebx + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x5553af
push 0
push 0
push edx
push 0x81
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x5553e2
mov ebp, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
lea ecx, [edx - 2]
test ecx, ecx
jns 0x5553ef
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5553fe
mov eax, 0x74c854
jmp 0x555407
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x74]
test edi, edi
jns 0x555414
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x555426
mov eax, 0x74c854
jmp 0x55581d
lea ecx, [edi + edi*4]
jmp 0x555817
mov edx, dword [ebx + 0x40]
test edx, edx
je 0x55548b
sub edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x555457
push 0
push 1
push edx
push 0x55
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x555820
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x555820
mov edx, dword [esp + 0x14]
cmp dword [edx + 0x10], 0x4b7170
je 0x555820
xor eax, eax
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x28], eax
je 0x555581
mov al, byte [ebp + 0x13]
test al, al
jne 0x5554ba
inc dword [ebp + 0x2c]
mov edi, dword [ebp + 0x2c]
jmp 0x5554c9
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov edi, dword [ebp + eax*4 + 0x98]
mov edx, dword [ebx + 0x50]
add edx, ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x5554e9
push edi
push edx
push dword [esp + 0x34]
push 0x5d
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x555518
mov ebp, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x74]
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x78], edx
jg 0x55553a
push 1
push 0
push edi
push 0x14
push esi
call fcn.004e2c80
add esp, 0x14
mov dword [esp + 0x1c], eax
jmp 0x555569
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x14
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x555581
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x555581
movzx eax, al
mov dword [ebp + eax*4 + 0x98], edi
inc byte [ebp + 0x13]
cmp byte [ebx + 0x60], 0
je 0x55564d
mov eax, dword [ebx + 0x48]
mov edi, dword [esi + 0x74]
mov eax, dword [eax + 0x14]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
cmp edx, 1
jne 0x5555c7
mov al, byte [ebp + 0x13]
test al, al
jne 0x5555b2
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x10], eax
jmp 0x5555f0
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x98]
mov dword [esp + 0x10], eax
jmp 0x5555f0
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x10], eax
cmp edx, ecx
jg 0x5555e1
add eax, edx
sub ecx, edx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], ecx
jmp 0x5555f0
mov eax, dword [ebp + 0x2c]
lea ecx, [eax + 1]
add eax, edx
mov dword [esp + 0x10], ecx
mov dword [ebp + 0x2c], eax
mov eax, dword [ebx + 0x48]
push 0
push 0
push dword [esp + 0x18]
push dword [eax + 0x14]
push ebp
call fcn.00507d50
mov edx, dword [esi + 0x74]
add esp, 0x14
cmp edi, edx
jge 0x55564d
mov ebp, dword [esp + 0x2c]
mov ecx, edi
test edi, edi
jns 0x55561c
mov ecx, dword [esi + 0x74]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x55562b
mov ecx, 0x74c854
jmp 0x555634
mov eax, dword [esi + 0x70]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
cmp byte [ecx], 0x5d
jne 0x555644
mov eax, dword [ecx + 4]
cmp eax, dword [ebx + 0x30]
jne 0x555644
mov dword [ecx + 4], ebp
inc edi
cmp edi, edx
jl 0x555612
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
test byte [eax + 4], 0x20
je 0x555715
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
push dword [eax + 8]
push ebp
call fcn.0050a460
mov edi, eax
add esp, 8
test edi, edi
jne 0x555679
mov eax, dword [ebp]
mov edi, dword [eax + 8]
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x555696
push 0
push 0
push 0
push 0x54
push esi
call fcn.004e2c80
add esp, 0x14
mov edx, eax
jmp 0x5556cd
mov ebp, dword [esp + 0x24]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x5556e3
push edi
push 0xfffffffffffffffe
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x555715
test edx, edx
jns 0x5556eb
mov edx, dword [esi + 0x74]
dec edx
mov eax, dword [esi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x55570a
push 0xfffffffffffffffe
push edi
push eax
push esi
call fcn.00547a80
add esp, 0x10
jmp 0x555715
test edi, edi
je 0x555715
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x30]
mov edx, eax
mov ecx, dword [esi + 0x74]
neg edx
mov edi, dword [ebx + 0x34]
sbb edx, edx
add edx, 0xa1
cmp dword [esi + 0x78], ecx
jg 0x555743
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push edx
push esi
call fcn.004e2c80
add esp, 0x14
jmp 0x55577c
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
je 0x555796
push edx
push 0xfffffffffffffff8
push eax
call fcn.004cfa50
add esp, 0xc
jmp 0x5557a8
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x74]
test eax, eax
jle 0x5557c1
mov ecx, dword [esp + 0x18]
movzx edx, cl
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
cmp byte [ebx + 0x60], 0
je 0x5557f5
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x5557ea
test edi, edi
je 0x5557f5
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x5557f5
movzx eax, al
mov dword [ebp + eax*4 + 0x98], edi
inc byte [ebp + 0x13]
jmp 0x5557f5
cmp eax, dword [ebp + 0x1c]
jle 0x5557f5
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x20], edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x555820
mov edx, dword [esi + 0x74]
jns 0x555805
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x555814
mov eax, 0x74c854
jmp 0x55581d
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0x24]
test ebx, ebx
jne 0x555093
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret