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

Disassembly:
sub esp, 0x29c
push ebx
push ebp
push esi
push edi
push 0x6d63
mov ecx, 0x628700
call fcn.005cbd90
xor edi, edi
mov dword [esp + 0x4c], eax
cmp eax, edi
je 0x49ba8a
lea eax, [esp + 0x13]
lea ecx, [esp + 0x12]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.0049c120
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edi
call fcn.0040ee20
lea ecx, [esp + 0x18]
call fcn.00416100
push str..cfg
lea edx, [esp + 0x40]
push str.help
push edx
call fcn.00415c00
add esp, 0xc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], edi
push eax
call fcn.005d8060
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], eax
call fcn.00470dc0
mov edx, dword [eax]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.0049c690
add esp, 8
test al, al
jne 0x49b90d
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edx
call fcn.00406480
mov ecx, dword [esp + 0x2c]
add esp, 4
mov edx, dword [ecx + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.00415fc0
cmp dword [esp + 0x1c], edi
je 0x49b8d2
lea eax, [esp + 0x28]
lea ecx, [esp + 0x18]
push eax
push str.version
push str.Version
mov dword [esp + 0x34], edi
call fcn.00416920
cmp dword [esp + 0x28], 1
jl 0x49b8c9
push str.topic
lea ecx, [esp + 0x60]
push str.Topics
push ecx
lea ecx, [esp + 0x24]
call fcn.00416d70
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
cmp esi, eax
je 0x49b8be
mov eax, dword [esi]
lea edx, [esp + 0x58]
push edx
push str.title
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], 0
call fcn.00416920
mov edx, dword [esp + 0x58]
lea ecx, [esp + 0xac]
push ecx
push edx
call fcn.0045e0e0
mov ecx, eax
call fcn.00404ab0
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
push str.text
push ecx
lea ecx, [esp + 0x24]
call fcn.004169f0
mov eax, dword [esi]
mov edi, dword [esp + 0x50]
lea edx, [esp + 0x12]
lea ecx, [esp + 0x78]
push edx
push eax
call fcn.00414210
lea ecx, [esp + 0x13]
lea edx, [esp + 0xac]
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.00414210
lea eax, [esp + 0x3b]
lea ecx, [esp + 0x90]
push eax
push edi
call fcn.00414210
lea ecx, [esp + 0x78]
lea edx, [esp + 0x9c]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0049c270
push eax
lea ecx, [esp + 0x74]
call fcn.004b8b50
mov cl, byte [esp + 0x74]
mov eax, dword [esp + 0x70]
lea edx, [esp + 0x68]
mov byte [esp + 0x6c], cl
push edx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x6c], eax
call fcn.004b8b50
lea ecx, [esp + 0x90]
call fcn.00406010
lea ecx, [esp + 0x84]
call fcn.00406010
lea ecx, [esp + 0x78]
call fcn.00406010
mov eax, dword [esp + 0x60]
add esi, 4
cmp esi, eax
jne 0x49b7c0
lea ecx, [esp + 0x5c]
call fcn.0040ee80
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.00416100
lea eax, [esp + 0x24]
push eax
call fcn.00406480
add esp, 4
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x40]
call fcn.00470dc0
mov edx, dword [eax]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x1c], edx
call fcn.0049c690
add esp, 8
test al, al
je 0x49b741
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x5c]
call fcn.00405bc0
push eax
push esi
mov ecx, 0x625330
call fcn.0049bf10
lea ecx, [esp + 0x5c]
call fcn.00406010
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
cmp eax, ecx
mov dword [esp + 0x48], eax
je 0x49b9b3
mov bl, 0xff
mov byte [esp + 0x15], 0
mov byte [esp + 0x14], bl
mov bp, word [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x54]
mov edx, esp
push 1
lea esi, [eax + 0x10]
push 0
push 0xffffffffffffffff
mov eax, dword [esi + 0xc]
push 0
mov word [edx], bp
push 0
push 0
push eax
mov byte [edx + 2], bl
call fcn.005df660
mov ecx, dword [0x625330]
lea eax, [esi + 0x18]
add ecx, edi
cmp eax, ecx
je 0x49b995
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
call fcn.00406830
lea ecx, [esp + 0x48]
add edi, 0xc
push ecx
call fcn.004149c0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, ecx
jne 0x49b94e
xor edi, edi
push 0x26
mov ecx, 0x628700
call fcn.005cbd90
cmp eax, edi
je 0x49b9c8
mov dword [0x628830], eax
cmp dword [esp + 0x40], edi
je 0x49b9f8
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
mov eax, dword [edx + 4]
push eax
call fcn.004252b0
mov eax, dword [esp + 0x3c]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x3c]
mov dword [eax + 0xc], eax
mov dword [esp + 0x40], edi
lea ecx, [esp + 0x3c]
call fcn.00449290
lea ecx, [esp + 0x18]
call fcn.00416100
cmp dword [esp + 0x1c], edi
je 0x49ba3a
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov eax, dword [edx + 4]
push eax
call fcn.0040f710
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x18]
mov dword [eax + 0xc], eax
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x18]
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.005c5450
cmp dword [esp + 0x30], edi
je 0x49ba7a
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.0049c210
mov eax, dword [esp + 0x2c]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x2c]
mov dword [edx + 4], edi
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], eax
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x2c]
push 1
push eax
lea ecx, [esp + 0x34]
call fcn.0049c1c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x29c
ret