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

Disassembly:
push 0xffffffffffffffff
push 0x5f5f10
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x104]
mov edi, dword [esp + 0x100]
mov dword [esp + 0x54], ecx
push str.config.ini
lea ecx, [esp + 0x5c]
mov esi, edx
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], eax
call dword [0x610498]
lea eax, [esp + 0x58]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x58]
setne bl
call dword [0x6105a0]
xor ebp, ebp
test bl, bl
je 0x4bf61b
xor al, al
jmp 0x4bfcbf
push esi
lea edx, [esp + 0xd4]
push edi
push edx
mov byte [esp + 0x23], 0
call dword [0x6105a4]
sub esp, 0x10
mov dword [esp + 0x114], ebp
lea eax, [esp + 0xec]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x610494]
lea esi, [esp + 0xd0]
call fcn.004d7320
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
lea edx, [esp + 0x40]
mov ecx, esi
mov byte [esp + 0xf8], 2
call fcn.004d7380
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x18], eax
jbe 0x4bfc4e
xor ebp, ebp
lea esp, [esp]
push 0x6260c8
lea ecx, [esp + 0x5c]
call dword [0x610498]
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4bf6c4
mov ecx, dword [esp + 0x48]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf6ce
call dword [0x6105e8]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + ebp + 0x14]
cmp ecx, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], ecx
lea edx, [esp + 0x50]
jb 0x4bf6ea
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov eax, 8
cmp dword [esp + 0x70], eax
jae 0x4bf6fd
lea ecx, [esp + 0x5c]
cmp dword [esi + ebp + 0x18], eax
jb 0x4bf709
mov esi, dword [esi + ebp + 4]
jmp 0x4bf70d
lea esi, [esi + ebp + 4]
mov eax, dword [edx]
test eax, eax
je 0x4bf71e
push eax
push ecx
push esi
call fcn.004ce260
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x58]
setne bl
call dword [0x6105a0]
test bl, bl
je 0x4bf746
add edi, 1
add ebp, 0x1c
cmp edi, dword [esp + 0x18]
jb 0x4bf690
jmp 0x4bfc4c
xor ebp, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0xf8], 4
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x4bf78d
mov ecx, dword [esp + 0x48]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf797
call dword [0x6105e8]
mov esi, dword [esp + 0x44]
lea ecx, [edi*8]
sub ecx, edi
sub esp, 0x1c
lea eax, [esi + ecx*4]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [0x610494]
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x50]
lea ecx, [esp + 0xd4]
call fcn.004d75b0
mov esi, eax
lea ecx, [esp + 0x98]
mov dword [esp + 0x50], esi
call dword [0x61049c]
xor edi, edi
cmp esi, ebp
mov byte [esp + 0xf8], 5
jbe 0x4bfa4f
lea ecx, [ecx]
push str.name
lea ecx, [esp + 0x5c]
call dword [0x610498]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4bf824
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf82e
call dword [0x6105e8]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + ebp + 0x14]
mov dword [esp + 0x18], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
jb 0x4bf84a
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, 8
cmp dword [esp + 0x70], edx
jae 0x4bf85d
lea ecx, [esp + 0x5c]
cmp dword [esi + ebp + 0x18], edx
jb 0x4bf869
mov esi, dword [esi + ebp + 4]
jmp 0x4bf86d
lea esi, [esi + ebp + 4]
mov eax, dword [eax]
test eax, eax
je 0x4bf87e
push eax
push ecx
push esi
call fcn.004ce260
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x58]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4bf8c9
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4bf8b6
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf8c0
call dword [0x6105e8]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
jmp 0x4bfa34
push 0x6260e0
lea ecx, [esp + 0x5c]
call dword [0x610498]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4bf8fd
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf907
call dword [0x6105e8]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esi + ebp + 0x14]
mov dword [esp + 0x18], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x18]
jb 0x4bf923
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x5c]
mov edx, 8
cmp dword [esp + 0x70], edx
jae 0x4bf936
lea ecx, [esp + 0x5c]
cmp dword [esi + ebp + 0x18], edx
jb 0x4bf942
mov esi, dword [esi + ebp + 4]
jmp 0x4bf946
lea esi, [esi + ebp + 4]
mov eax, dword [eax]
test eax, eax
je 0x4bf957
push eax
push ecx
push esi
call fcn.004ce260
add esp, 0xc
test eax, eax
lea ecx, [esp + 0x58]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4bf9a2
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4bf98f
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf999
call dword [0x6105e8]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x54]
jmp 0x4bfa34
push str.help
lea ecx, [esp + 0x5c]
call dword [0x610498]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4bf9d6
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bf9e0
call dword [0x6105e8]
mov esi, dword [esp + 0x34]
add esi, ebp
lea eax, [esp + 0x58]
call fcn.004ce200
test eax, eax
lea ecx, [esp + 0x58]
sete bl
call dword [0x6105a0]
test bl, bl
je 0x4bfa3d
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4bfa23
mov ecx, dword [esp + 0x28]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4bfa2d
call dword [0x6105e8]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 0x98]
add esi, ebp
push esi
call dword [0x61059c]
add edi, 1
add ebp, 0x1c
cmp edi, dword [esp + 0x50]
jb 0x4bf7f0
xor ebp, ebp
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x14], ebp
mov ebx, dword [esp + 0x54]
je 0x4bfbb7
cmp dword [ebx + 0x14], ebp
je 0x4bfbb7
cmp dword [esp + 0xac], ebp
je 0x4bfbb7
mov edi, dword [esp + 0x78]
mov esi, dword [0x6105a4]
push ebx
lea ecx, [esp + 0x5c]
push edi
push ecx
call esi
add esp, 0xc
push eax
mov ecx, ebx
mov byte [esp + 0xfc], 6
call dword [0x61059c]
lea ecx, [esp + 0x58]
mov byte [esp + 0xf8], 5
call dword [0x6105a0]
push ebx
call fcn.004d7a10
add esp, 4
test al, al
lea ecx, [esp + 0x98]
jne 0x4bfafa
mov byte [esp + 0xf8], 4
call dword [0x6105a0]
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xfc], 3
call fcn.00404430
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xfc], 2
call fcn.00404430
jmp 0x4bfc4c
push ecx
lea edx, [esp + 0x80]
push edi
push edx
call esi
add esp, 0xc
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0xfc], 7
call dword [0x61059c]
lea ecx, [esp + 0x7c]
mov byte [esp + 0xf8], 5
call dword [0x6105a0]
lea eax, [esp + 0x98]
push eax
call fcn.004d7a10
add esp, 4
test al, al
mov byte [esp + 0xf8], 4
lea ecx, [esp + 0x98]
jne 0x4bfb83
call dword [0x6105a0]
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xfc], 3
call fcn.00404430
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xfc], 2
call fcn.00404430
jmp 0x4bfc4c
mov byte [esp + 0x17], 1
call dword [0x6105a0]
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0xfc], 3
call fcn.00404430
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0xfc], 2
call fcn.00404430
jmp 0x4bfc4c
lea ecx, [esp + 0x98]
mov byte [esp + 0xf8], 4
call dword [0x6105a0]
mov byte [esp + 0xf8], 3
mov esi, dword [esp + 0x24]
cmp esi, ebp
je 0x4bfc00
mov edi, dword [esp + 0x28]
cmp esi, edi
je 0x4bfbf7
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4bfbe4
mov esi, dword [esp + 0x24]
push esi
call fcn.005e6954
add esp, 4
mov byte [esp + 0xf8], 2
mov esi, dword [esp + 0x34]
cmp esi, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
je 0x4bfc40
mov edi, dword [esp + 0x38]
cmp esi, edi
je 0x4bfc37
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4bfc24
mov esi, dword [esp + 0x34]
push esi
call fcn.005e6954
add esp, 4
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
xor ebp, ebp
mov byte [esp + 0xf8], 1
mov esi, dword [esp + 0x44]
cmp esi, ebp
je 0x4bfc82
mov edi, dword [esp + 0x48]
cmp esi, edi
je 0x4bfc79
mov ecx, esi
call dword [0x6105a0]
add esi, 0x1c
cmp esi, edi
jne 0x4bfc66
mov esi, dword [esp + 0x44]
push esi
call fcn.005e6954
add esp, 4
lea ecx, [esp + 0xb4]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0xf8], 0
call dword [0x6105a0]
lea ecx, [esp + 0xd0]
mov dword [esp + 0xf8], 0xffffffff
call dword [0x6105a0]
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.005e693f
add esp, 0xe8
ret 8