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

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push ebp
mov eax, dword [ecx + 0x20]
push esi
mov esi, dword [ebx + 8]
push edi
mov eax, dword [eax + 0x1c]
mov edi, dword [ecx + 0x44]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax]
test esi, esi
jne 0x5410ad
cmp dword [ebx + 0x74], esi
jne 0x5410a2
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x5410a2
mov byte [ebx + 0x17], 1
push ebx
call fcn.0052ee00
add esp, 4
mov esi, eax
mov ecx, dword [esi + 0x74]
lea eax, [edi + 0x30]
mov edx, dword [eax]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x5410cf
push 0
push ebp
push edx
push 0x74
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5410fa
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [edx]
lea ebp, [edx + 1]
cmp dword [esi + 0x78], ecx
jg 0x54111c
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x54114b
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
lea ebp, [edx + 2]
cmp dword [esi + 0x78], ecx
jg 0x54116d
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x54119c
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
lea ebp, [edx + 3]
cmp dword [esi + 0x78], ecx
jg 0x5411be
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5411ed
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x541250
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0x44], eax
add dword [ebx + 0x2c], ecx
lea ebp, [ecx - 1]
mov edx, dword [edi + 0x44]
add ebp, edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x541221
push ebp
push edx
push 0
push 0x4a
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541250
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x2c]
inc edx
mov dword [ebx + 0x2c], edx
mov dword [edi + 0x54], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x541274
push 0
push edx
push 1
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x5412a3
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x14], 0
je 0x541380
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x58], eax
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
inc dword [ebx + 0x28]
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x58]
cmp dword [esi + 0x78], ecx
jg 0x5412e5
push 0
push edx
push 1
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541314
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x541331
push 0
push edx
push 0
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541360
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
push dword [eax]
push dword [edi + 0x3c]
push 0x71
push esi
call fcn.0052e380
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x1000
je 0x541492
cmp byte [edi + 0x11], 0x5a
je 0x541492
mov eax, dword [edi + 0x48]
push 0
push 0
push dword [eax + 0x14]
push ebx
call fcn.0051a040
mov ecx, dword [ebx + 0x28]
mov ebp, eax
mov dword [edi + 0x3c], ecx
add esp, 0x10
mov ecx, dword [ebx + 0x2c]
inc dword [ebx + 0x28]
inc ecx
mov dword [edi + 0x40], ecx
add dword [ebx + 0x2c], 3
test ebp, ebp
je 0x5413d9
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 1], 0x69
jne 0x5413d9
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov ecx, dword [esi + 0x74]
mov edx, dword [edi + 0x3c]
cmp dword [esi + 0x78], ecx
jg 0x5413f6
push 0
push 2
push edx
push 0x74
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541429
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x54143f
push ebp
push 0xfffffffffffffff7
push eax
call fcn.004cfc50
add esp, 0xc
jmp 0x541451
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], ebp
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x541472
push 0
push edx
push 0
push 0x47
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541539
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
jmp 0x541525
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x5414d4
cmp eax, str.first_value
je 0x5414d4
cmp eax, str.lead
je 0x5414b5
cmp eax, 0x582698
jne 0x541539
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
mov eax, dword [esp + 0x18]
inc dword [ebx + 0x28]
push dword [eax]
push dword [edi + 0x3c]
push 0x71
push esi
call fcn.0052e380
add esp, 0x10
jmp 0x541539
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
inc dword [ebx + 0x28]
add dword [ebx + 0x2c], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x74]
mov ebp, dword [edi + 0x3c]
mov edx, dword [eax]
cmp dword [esi + 0x78], ecx
jg 0x54150a
push 0
push edx
push ebp
push 0x71
push esi
call fcn.004e2e80
add esp, 0x14
jmp 0x541539
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x541380
pop edi
pop esi
pop ebp
pop ebx
ret