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

Disassembly:
sub esp, 0x468
push ebx
push ebp
mov ebp, ecx
push esi
push edi
xor edi, edi
mov eax, dword [ebp + 0x24]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x28], ebp
mov byte [esp + 0x13], 0
mov dword [esp + 0x14], edi
mov byte [esp + 0x1b], bl
jle 0x50af64
mov byte [esp + 0x1b], 1
mov byte [esp + 0x480], bl
push 0x1000
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x40], vtable.Straw.0
call fcn.00438200
mov eax, dword [esp + 0x47c]
lea ecx, [esp + 0x3c]
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x40], vtable.CacheStraw.0
call dword [0x78ebc8]
mov al, byte [esp + 0x13]
test al, al
jne 0x50b0a6
lea ecx, [esp + 0x13]
lea edx, [esp + 0x78]
push ecx
push 0x200
lea ecx, [esp + 0x44]
call fcn.00630ac0
mov al, byte [esp + 0x13]
test al, al
jne 0x50b06c
lea edx, [esp + 0x78]
lea ecx, [esp + 0x78]
test edx, edx
je 0x50b00b
mov al, byte [esp + 0x78]
test al, al
je 0x50aff3
cmp al, 0x20
ja 0x50aff3
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50afe7
cmp byte [ecx], 0x5b
jne 0x50b00b
push 0x5d
push ecx
call fcn.0076f6c0
add esp, 8
test eax, eax
jne 0x50b0a6
mov al, byte [esp + 0x480]
test al, al
je 0x50b05f
push 8
call fcn.0076d5a7
mov esi, eax
add esp, 4
test esi, esi
je 0x50b03e
test ebx, ebx
mov dword [esi], 0
mov dword [esi + 4], 0
je 0x50b048
mov dword [ebx + 4], esi
mov ebx, esi
jmp 0x50b050
mov byte [esp + 0x480], 0
jmp 0x50b05f
mov edi, esi
mov ebx, esi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x78]
push eax
call fcn.00778d96
add esp, 4
mov dword [esi], eax
mov al, byte [esp + 0x13]
test al, al
jne 0x50b0a6
jmp 0x50afb0
mov al, byte [esp + 0x480]
test al, al
je 0x50b07f
mov dword [ebp + 0x34], edi
jmp 0x50b228
test edi, edi
je 0x50b8b7
mov ecx, dword [edi]
push ecx
call fcn.0076db78
mov esi, dword [edi + 4]
push edi
call fcn.0076d2d5
add esp, 8
mov edi, esi
test esi, esi
jne 0x50b087
jmp 0x50b8b7
mov al, byte [esp + 0x1b]
test al, al
je 0x50b24c
mov al, byte [esp + 0x13]
test al, al
jne 0x50b21d
lea ecx, [esp + 0x78]
mov byte [esp + 0x278], 0
call fcn.006e4080
cmp byte [esp + 0x78], 0x5b
jne 0x50b114
lea edx, [esp + 0x78]
push 0x5d
push edx
call fcn.0076f6c0
add esp, 8
test eax, eax
je 0x50b0ec
mov byte [eax], 0
lea edi, [esp + 0x79]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x278]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x13]
test al, al
jne 0x50b21d
lea ecx, [esp + 0x13]
lea edx, [esp + 0x78]
push ecx
push 0x200
lea ecx, [esp + 0x44]
call fcn.00630ac0
lea edx, [esp + 0x78]
mov esi, eax
test edx, edx
lea ecx, [esp + 0x78]
je 0x50b190
mov al, byte [esp + 0x78]
test al, al
je 0x50b159
cmp al, 0x20
ja 0x50b159
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50b14d
cmp byte [ecx], 0x5b
jne 0x50b171
push 0x5d
push ecx
call fcn.0076f6c0
add esp, 8
test eax, eax
jne 0x50b211
lea eax, [esp + 0x78]
push 0x3b
push eax
call fcn.0076f6c0
add esp, 8
test eax, eax
je 0x50b190
lea ecx, [esp + 0x78]
mov byte [eax], 0
call fcn.006e4080
test esi, esi
je 0x50b204
mov al, byte [esp + 0x78]
cmp al, 0x3b
je 0x50b204
cmp al, 0x3d
je 0x50b204
lea ecx, [esp + 0x78]
push 0x3d
push ecx
call fcn.0076f6c0
mov esi, eax
add esp, 8
test esi, esi
je 0x50b204
mov byte [esi], 0
lea ecx, [esp + 0x78]
inc esi
call fcn.006e4080
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50b204
mov ecx, esi
call fcn.006e4080
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x50b204
lea edx, [esp + 0x78]
push esi
lea eax, [esp + 0x27c]
push edx
push eax
mov ecx, ebp
call fcn.0050d8f0
test al, al
je 0x50b8b7
mov al, byte [esp + 0x13]
test al, al
jne 0x50b21d
jmp 0x50b120
mov al, byte [esp + 0x13]
test al, al
je 0x50b0be
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x34], ecx
lea ecx, [esp + 0x48]
call fcn.00438290
lea ecx, [esp + 0x3c]
call fcn.00690560
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x468
ret 8
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x50b276
mov ecx, dword [ebp + 0x34]
mov edx, dword [ecx]
push edx
call fcn.0076db78
mov eax, dword [ebp + 0x34]
mov ecx, eax
mov esi, dword [eax + 4]
push ecx
call fcn.0076d2d5
add esp, 8
mov dword [ebp + 0x34], esi
test esi, esi
jne 0x50b253
mov al, byte [esp + 0x13]
test al, al
jne 0x50b21d
lea ecx, [esp + 0x78]
call fcn.006e4080
cmp byte [esp + 0x78], 0x5b
jne 0x50b2a6
lea edx, [esp + 0x78]
push 0x5d
push edx
call fcn.0076f6c0
add esp, 8
test eax, eax
je 0x50b2b0
mov byte [eax], 0
jmp 0x50b2b0
mov byte [esp + 0x78], 0
mov byte [esp + 0x79], 0
push 0x44
call fcn.0076d5a7
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x38], ebx
je 0x50b849
lea eax, [esp + 0x79]
push eax
call fcn.00778d96
lea esi, [ebx + 0x10]
xor edi, edi
add esp, 4
mov ecx, esi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx], vtable.Node_struct_INIClass::INISection__.0
mov dword [ebx + 0xc], eax
call fcn.00490c60
lea ebp, [ebx + 0x2c]
mov dword [esi], vtable.List_struct_INIClass::INIEntry__.0
mov ecx, ebp
call fcn.0050ffe0
mov ecx, dword [esp + 0x14]
mov dword [ebx], vtable.INIClass::INISection.0
mov dword [ebx + 0x40], ecx
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edi
jne 0x50b6bd
lea edx, [esp + 0x13]
lea ecx, [esp + 0x3c]
push edx
push 0x200
lea edx, [esp + 0x80]
call fcn.00630ac0
mov dword [esp + 0x24], eax
mov al, byte [esp + 0x13]
test al, al
jne 0x50b6bd
lea eax, [esp + 0x78]
lea ecx, [esp + 0x78]
test eax, eax
je 0x50b383
mov al, byte [esp + 0x78]
test al, al
je 0x50b36b
cmp al, 0x20
ja 0x50b36b
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x50b35f
cmp byte [ecx], 0x5b
jne 0x50b383
push 0x5d
push ecx
call fcn.0076f6c0
add esp, 8
test eax, eax
jne 0x50b6bd
mov al, byte [esp + 0x480]
test al, al
je 0x50b3dd
push 8
call fcn.0076d5a7
mov esi, eax
add esp, 4
test esi, esi
je 0x50b3bc
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
test eax, eax
mov dword [esi + 4], 0
je 0x50b3c6
mov dword [eax + 4], esi
mov dword [esp + 0x1c], esi
jmp 0x50b3ce
mov byte [esp + 0x480], 0
jmp 0x50b3dd
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x78]
push ecx
call fcn.00778d96
add esp, 4
mov dword [esi], eax
mov al, byte [esp + 0x480]
xor esi, esi
xor edi, edi
mov dword [esp + 0x30], esi
test al, al
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], edi
je 0x50b42f
lea edx, [esp + 0x2c]
lea eax, [esp + 0x34]
push edx
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x80]
call fcn.0050f9b0
mov edi, eax
cmp edi, esi
mov dword [esp + 0x20], edi
je 0x50b42f
push edi
call fcn.00778d96
mov edi, eax
add esp, 4
mov dword [esp + 0x20], edi
lea ecx, [esp + 0x78]
test ecx, ecx
je 0x50b456
lea edx, [esp + 0x78]
push 0x3b
push edx
call fcn.0076f6c0
add esp, 8
cmp eax, esi
je 0x50b456
lea ecx, [esp + 0x78]
mov byte [eax], 0
call fcn.006e4080
cmp dword [esp + 0x24], esi
je 0x50b6a4
mov al, byte [esp + 0x78]
cmp al, 0x3b
je 0x50b6a4
cmp al, 0x3d
je 0x50b6a4
lea eax, [esp + 0x78]
push 0x3d
push eax
call fcn.0076f6c0
mov esi, eax
add esp, 8
test esi, esi
je 0x50b6a4
mov byte [esi], 0
inc esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x24], esi
call fcn.006e4080
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50b4b8
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x50b6a5
mov ecx, esi
call fcn.006e4080
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x50b4d7
mov edx, dword [esp + 0x20]
push edx
jmp 0x50b6a5
mov al, byte [esp + 0x480]
test al, al
je 0x50b4ff
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x50b4ff
mov eax, dword [esi]
test eax, eax
je 0x50b4ff
push eax
call fcn.0076db78
add esp, 4
mov dword [esi], 0
push 0x28
call fcn.0076d5a7
mov esi, eax
add esp, 4
test esi, esi
je 0x50b86f
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
push ecx
mov dword [esp + 0x20], eax
call fcn.00778d96
lea edx, [esp + 0x7c]
mov dword [esp + 0x28], eax
push edx
call fcn.00778d96
mov edx, dword [esp + 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edx
mov dword [esi], vtable.INIClass::INIEntry.0
mov edx, dword [esi + 0xc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00493c50
mov ecx, dword [ebp + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
inc ecx
cmp ecx, eax
jle 0x50b63d
test eax, eax
jne 0x50b5c0
mov dword [esp + 0x20], 0xa
jmp 0x50b5ce
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x20], ecx
jl 0x50b65f
mov edx, dword [esp + 0x20]
lea ebx, [eax + edx]
lea eax, [ebx*8]
push eax
call fcn.0076d5a7
mov edi, eax
add esp, 4
test edi, edi
je 0x50b65f
mov eax, dword [ebp + 4]
dec ebx
xor ecx, ecx
mov dword [esp + 0x5c], ebx
test eax, eax
jle 0x50b61b
mov ebx, dword [ebp]
lea eax, [ecx*8]
mov edx, eax
add edx, ebx
inc ecx
mov ebx, dword [edx]
mov dword [eax + edi], ebx
mov edx, dword [edx + 4]
mov dword [eax + edi + 4], edx
mov eax, dword [ebp + 4]
cmp ecx, eax
jl 0x50b5f9
mov eax, dword [ebp]
push eax
call fcn.0076d2d5
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 8]
add esp, 4
add eax, ecx
mov dword [ebp], edi
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], 0
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x24]
mov dword [eax + edx*8], ecx
mov edx, dword [ebp + 4]
mov eax, dword [ebp]
mov dword [eax + edx*8 + 4], esi
mov eax, dword [ebp + 4]
inc eax
mov byte [ebp + 0xc], 0
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x38]
xor edi, edi
mov eax, dword [ecx + 0x28]
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x50b688
mov edx, dword [esi + 8]
cmp edx, edi
je 0x50b688
mov dword [edx + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
mov edx, dword [eax + 4]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov ecx, dword [eax + 4]
cmp ecx, edi
je 0x50b69b
mov dword [ecx + 8], esi
mov ebx, dword [esp + 0x38]
mov dword [eax + 4], esi
jmp 0x50b6ad
push edi
call fcn.0076db78
add esp, 4
mov al, byte [esp + 0x13]
mov edi, dword [esp + 0x14]
test al, al
je 0x50b321
mov al, byte [esp + 0x480]
test al, al
jne 0x50b70c
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x50b6dd
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x50b6dd
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x50b70c
test edi, edi
je 0x50b6ff
mov eax, dword [edi]
push eax
call fcn.0076db78
mov esi, dword [edi + 4]
push edi
call fcn.0076d2d5
add esp, 8
mov edi, esi
test esi, esi
jne 0x50b6e1
mov dword [esp + 0x14], edi
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx]
jmp 0x50b830
mov edx, dword [ebx + 0xc]
xor esi, esi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.00493c50
mov edi, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
inc ecx
cmp ecx, eax
jle 0x50b7d1
cmp eax, esi
jne 0x50b759
mov dword [esp + 0x1c], 0xa
jmp 0x50b767
mov ecx, eax
cmp ecx, esi
mov dword [esp + 0x1c], ecx
jl 0x50b7f7
mov edx, dword [esp + 0x1c]
lea ebp, [edx + eax]
lea eax, [ebp*8]
push eax
call fcn.0076d5a7
mov esi, eax
add esp, 4
test esi, esi
je 0x50b7f5
mov ecx, dword [edi + 0x24]
dec ebp
xor eax, eax
mov dword [esp + 0x5c], ebp
test ecx, ecx
jle 0x50b7ad
mov ecx, dword [edi + 0x20]
inc eax
mov edx, dword [ecx + eax*8 - 8]
mov dword [esi + eax*8 - 8], edx
mov ecx, dword [ecx + eax*8 - 4]
mov dword [esi + eax*8 - 4], ecx
mov ecx, dword [edi + 0x24]
cmp eax, ecx
jl 0x50b792
mov edx, dword [edi + 0x20]
push edx
call fcn.0076d2d5
mov eax, dword [esp + 0x20]
mov ecx, dword [edi + 0x28]
add ecx, eax
add esp, 4
mov dword [edi + 0x20], esi
mov dword [edi + 0x28], ecx
mov dword [edi + 0x30], 0
xor esi, esi
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*8], eax
mov ecx, dword [edi + 0x24]
mov edx, dword [edi + 0x20]
mov dword [edx + ecx*8 + 4], ebx
mov eax, dword [edi + 0x24]
inc eax
mov byte [edi + 0x2c], 0
mov dword [edi + 0x24], eax
jmp 0x50b7f7
xor esi, esi
mov eax, dword [ebx + 4]
mov edi, dword [edi + 0x1c]
cmp eax, esi
je 0x50b81a
mov ecx, dword [ebx + 8]
cmp ecx, esi
je 0x50b81a
mov dword [ecx + 4], eax
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov dword [eax + 8], ecx
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov edx, dword [edi + 4]
mov dword [ebx + 8], edi
mov dword [ebx + 4], edx
mov eax, dword [edi + 4]
cmp eax, esi
je 0x50b82d
mov dword [eax + 8], ebx
mov dword [edi + 4], ebx
mov al, byte [esp + 0x13]
test al, al
jne 0x50b21d
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
jmp 0x50b27e
test edi, edi
je 0x50b867
mov eax, dword [edi]
push eax
call fcn.0076db78
mov esi, dword [edi + 4]
push edi
call fcn.0076d2d5
add esp, 8
mov edi, esi
test esi, esi
jne 0x50b84d
push 0
push 0
mov ecx, ebp
jmp 0x50b8b2
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0076db78
mov esi, dword [esp + 0x18]
add esp, 4
test esi, esi
je 0x50b89e
mov edx, dword [esi]
push edx
call fcn.0076db78
mov edi, dword [esi + 4]
push esi
call fcn.0076d2d5
add esp, 8
mov esi, edi
test edi, edi
jne 0x50b884
test ebx, ebx
je 0x50b8aa
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov ecx, dword [esp + 0x28]
push 0
push 0
call fcn.0050aca0
lea ecx, [esp + 0x48]
call fcn.00438290
lea ecx, [esp + 0x3c]
call fcn.00690560
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x468
ret 8