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

Disassembly:
push 0xffffffffffffffff
push 0x619f7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xe8], 1
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x24]
mov ecx, dword [0x697d4c]
lea eax, [eax + eax*2]
shl eax, 6
mov dword [esp + 0x3c], eax
mov eax, dword [eax + ecx + 0x90]
test eax, eax
mov dword [esp + 0x38], eax
jne 0x4d0d33
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], al
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005dd1b0
mov eax, 3
jmp 0x4d1ac7
add eax, 0x10
test eax, eax
jne 0x4d0d6e
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], al
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005dd1b0
mov eax, 3
jmp 0x4d1ac7
mov edx, dword [esp + 0xf4]
mov esi, dword [edx - 8]
cmp esi, 1
jl 0x4d0d99
push 0
lea ecx, [esp + 0xf8]
call fcn.005dd594
mov cl, byte [eax + esi - 1]
mov byte [esp + 0x17], 1
cmp cl, 9
je 0x4d0d9e
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x20]
call fcn.004050d0
mov dword [esp + 0x20], 0x628d34
push 0
push 1
push ecx
lea eax, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0xf8], 2
call fcn.005dcf25
lea ecx, [esp + 0x2c]
call fcn.004f5c50
mov ecx, dword [0x6abf00]
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x28]
mov byte [esp + 0xe8], 3
test eax, eax
je 0x4d0e41
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x10]
push edx
call fcn.005dd29d
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
xor edi, edi
lea ebp, [eax - 1]
push 0
mov ecx, esi
call fcn.004927d0
add esi, 4
mov ecx, edi
dec edi
test ecx, ecx
jne 0x4d0e0d
test ebp, ebp
je 0x4d0e3d
mov eax, dword [esp + 0x24]
lea edx, [ebp*4]
push edx
lea ecx, [eax + 4]
push ecx
push eax
call fcn.00510210
add esp, 0xc
dec dword [esp + 0x28]
mov eax, dword [0x6a4e08]
xor edi, edi
test eax, eax
mov byte [esp + 0x16], 0
je 0x4d0e85
mov esi, 0x6a4e10
mov eax, dword [esi - 4]
mov edx, dword [esp + 0x10]
push eax
push edx
call fcn.00510588
add esp, 8
test eax, eax
jne 0x4d0e7a
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov byte [esp + 0x16], 1
je 0x4d0e85
mov eax, dword [esi + 8]
add esi, 0x10
inc edi
test eax, eax
jne 0x4d0e56
shl edi, 4
mov esi, dword [edi + 0x6a4e08]
test esi, esi
je 0x4d1695
mov al, byte [esp + 0x17]
test al, al
jne 0x4d1695
mov ebp, dword [esp + 0xf8]
mov ebx, 0xd
cmp esi, ebx
jne 0x4d0ec9
mov ecx, dword [esp + 0x24]
push 0x2e
call fcn.005dd65e
mov esi, eax
inc esi
neg esi
sbb esi, esi
add esi, 0xf
jmp 0x4d0f31
cmp esi, 0x10
jne 0x4d0ee5
mov ecx, dword [esp + 0x24]
push 0x2e
call fcn.005dd65e
mov esi, eax
inc esi
neg esi
sbb esi, esi
add esi, 0x12
jmp 0x4d0f31
cmp esi, 0xa
jne 0x4d0f31
mov ecx, dword [0x697d4c]
mov edx, dword [esp + 0x3c]
push 0xc
add ecx, edx
mov esi, 0xb
call fcn.0041d190
cmp eax, 0xffffffff
je 0x4d0f31
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x38]
push ecx
add edx, 0x10
push ebp
push ecx
mov eax, dword [edx + eax*8 + 4]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00457510
mov ecx, dword [esp + 0x58]
call fcn.00447090
mov ecx, dword [0x697d4c]
mov edx, dword [esp + 0x3c]
push esi
add ecx, edx
call fcn.0041d190
or edi, 0xffffffff
cmp eax, edi
jne 0x4d1029
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x4c]
push 0x2f
push ecx
call fcn.005d50c6
mov esi, eax
lea ecx, [esp + 0x44]
call fcn.0041a0a0
mov edx, dword [esi]
mov byte [esp + 0xf4], bl
push edx
push 0xefe5
push eax
call fcn.004f5a10
add esp, 8
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.005dcf25
push 2
lea ecx, [esp + 0x84]
call fcn.0042e790
mov esi, dword [esp + 0x38]
push eax
mov byte [esp + 0xf0], 0xe
mov ecx, dword [esi + 0x88]
add ecx, 0x160
call fcn.0042f1b0
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], bl
call fcn.0042e870
lea ecx, [esp + 0x38]
mov byte [esp + 0xe8], 0xc
call fcn.005dd1b0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xe8], 3
call fcn.005dd1b0
mov ecx, dword [0x6c396c]
push 0
push 0x20
push esi
call fcn.00495c90
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 1
call fcn.00404a20
jmp 0x4d1664
mov ebx, dword [esp + 0x38]
mov eax, dword [ebx + eax*8 + 0x14]
lea ecx, [ebx + 0x10]
push eax
lea ecx, [esp + 0xf8]
call fcn.005dd2ed
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d13eb
cmp eax, 1
jne 0x4d1084
push str._ARG_
lea ecx, [esp + 0xf8]
call fcn.005d5620
cmp eax, edi
je 0x4d1084
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xf4]
mov eax, dword [eax]
push eax
push str._ARG_
call fcn.005d5272
jmp 0x4d13eb
push str._BAN_
lea ecx, [esp + 0xf8]
call fcn.005d5620
cmp eax, edi
je 0x4d1144
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
lea ecx, [esp + 0xf4]
push eax
push str._BAN_
call fcn.005d5272
cmp dword [esp + 0x28], 2
jl 0x4d10d2
mov edx, dword [esp + 0x24]
lea ecx, [edx + 4]
call fcn.004fde70
mov esi, eax
imul esi, dword [ebx + 0xc]
test esi, esi
jne 0x4d10d7
mov eax, dword [ebx + 8]
jmp 0x4d1105
lea ecx, [esp + 0x40]
call fcn.004047a0
mov dword [esp + 0x18], 1
push esi
lea eax, [esp + 0x44]
push 0x697250
push eax
mov byte [esp + 0xf4], 0xf
call fcn.004fda00
mov eax, dword [eax]
add esp, 0xc
push eax
push str._BANTIME_
lea ecx, [esp + 0xfc]
call fcn.005d5272
mov al, byte [esp + 0x18]
mov dword [esp + 0xe8], 3
test al, 1
je 0x4d13eb
lea ecx, [esp + 0x40]
mov byte [esp + 0xe8], 0x10
call fcn.0041fc40
jmp 0x4d13eb
push str._PLAYERNAME_
lea ecx, [esp + 0xf8]
call fcn.005d5620
cmp eax, edi
je 0x4d1176
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
lea ecx, [esp + 0xf4]
push eax
push str._PLAYERNAME_
call fcn.005d5272
jmp 0x4d13eb
push str._PLAYERID_
lea ecx, [esp + 0xf8]
call fcn.005d5620
cmp eax, edi
je 0x4d1297
mov edx, dword [esp + 0x34]
push 0
sub esp, 8
lea ecx, [esp + 0x2c]
mov esi, dword [edx + 0x88]
mov eax, esp
mov dword [esp + 0x28], esp
push eax
push 0
add esi, 0x128
call fcn.0041be90
mov ecx, eax
call fcn.0041be70
mov ecx, esi
call fcn.004dc210
cmp eax, edi
jne 0x4d1212
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], 0x628cf8
mov byte [esp + 0xe8], 0x11
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d1664
mov ecx, dword [esp + 0x28]
push ecx
push eax
call fcn.0040a7d0
mov edx, dword [esp + 0x24]
push edx
call fcn.005dd7a4
add esp, 4
jmp 0x4d1664
mov esi, dword [esi]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, eax
shl ecx, 2
mov eax, dword [esi + ecx + 0x40]
test eax, eax
jne 0x4d124a
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], 0x628cf8
mov byte [esp + 0xe8], 0x12
jmp 0x4d11e9
mov eax, dword [0x6abf00]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + ecx + 0x40]
lea edx, [esp + 0x18]
push ecx
push 0x697250
push edx
mov byte [esp + 0xf4], 0x13
call fcn.004f59f0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0xf4]
push eax
push str._PLAYERID_
call fcn.005d5272
mov byte [esp + 0xe8], 3
lea ecx, [esp + 0x18]
jmp 0x4d13e6
push str._PLAYERSLOT_
lea ecx, [esp + 0xf8]
call fcn.005d5620
cmp eax, edi
je 0x4d1614
mov eax, dword [esp + 0x34]
push 0
sub esp, 8
mov esi, dword [eax + 0x88]
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
push 0
lea ecx, [esp + 0x34]
add esi, 0x128
call fcn.0041be90
mov ecx, eax
call fcn.0041be70
mov ecx, esi
call fcn.004dc210
cmp eax, edi
jne 0x4d1338
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], 0x628cf8
mov esi, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x14
test esi, esi
je 0x4d1664
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d1658
lea edi, [eax]
push 0
mov ecx, esi
call fcn.004927d0
add esi, 4
dec edi
jne 0x4d1324
jmp 0x4d1654
mov esi, dword [esi]
lea ecx, [eax + eax*2]
shl ecx, 4
add ecx, eax
shl ecx, 2
cmp byte [esi + ecx + 1], 0xff
jne 0x4d139b
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], 0x628cf8
mov esi, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x15
test esi, esi
je 0x4d1664
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d1658
lea edi, [eax]
push 0
mov ecx, esi
call fcn.004927d0
add esi, 4
dec edi
jne 0x4d1387
jmp 0x4d1654
mov edx, dword [0x6abf00]
mov dword [esp + 0x18], edx
xor eax, eax
mov byte [esp + 0xe8], 0x16
mov al, byte [esi + ecx + 1]
lea ecx, [esp + 0x18]
push eax
push 0x697250
push ecx
call fcn.004f59f0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0xf4]
push eax
push str._PLAYERSLOT_
call fcn.005d5272
mov byte [esp + 0xe8], 3
lea ecx, [esp + 0x18]
call fcn.005dd1b0
xor esi, esi
mov dword [esp + 0x50], 0x628d04
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], esi
push 0x697cb4
push ecx
lea edx, [esp + 0xfc]
mov bl, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0xf4], bl
call fcn.0041f970
lea eax, [esp + 0x58]
push eax
call fcn.004f69f0
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
jle 0x4d155c
mov ecx, dword [esp + 0xfc]
push ecx
push ebp
push esi
lea ecx, [esp + 0x5c]
call fcn.0041be90
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.0041f970
push ecx
lea edx, [esp + 0x100]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov byte [esp + 0xfc], 0x19
call fcn.0041f970
mov ecx, dword [esp + 0x5c]
mov byte [esp + 0xf8], bl
call fcn.004d1af0
mov edi, eax
cmp edi, 3
je 0x4d14a1
mov eax, dword [esp + 0x58]
inc esi
cmp esi, eax
jl 0x4d1440
jmp 0x4d1560
mov ebp, 0x628cf8
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x54]
mov byte [esp + 0xe8], 0x1a
test esi, esi
je 0x4d14de
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4d14d5
lea edi, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec edi
jne 0x4d14c4
mov esi, dword [esp + 0x54]
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x1b
test esi, esi
je 0x4d1527
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d151e
lea edi, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec edi
jne 0x4d150d
mov esi, dword [esp + 0x24]
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], 0
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005dd1b0
mov eax, 3
jmp 0x4d1ac7
mov edi, dword [esp + 0x1c]
mov ebp, 0x628cf8
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x54]
mov byte [esp + 0xe8], 0x1c
test esi, esi
je 0x4d1599
test eax, eax
je 0x4d1590
lea ebx, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec ebx
jne 0x4d157f
mov esi, dword [esp + 0x54]
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], ebp
mov esi, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x1d
test esi, esi
je 0x4d15e2
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d15d9
lea ebx, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec ebx
jne 0x4d15c8
mov esi, dword [esp + 0x24]
push esi
call fcn.005dd7a4
add esp, 4
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], 0
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005dd1b0
mov eax, edi
jmp 0x4d1ac7
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
mov dword [esp + 0x20], 0x628cf8
mov esi, dword [esp + 0x24]
mov byte [esp + 0xe8], 0x17
test esi, esi
je 0x4d1664
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d1658
lea edi, [eax]
mov ecx, esi
call fcn.005dd1b0
add esi, 4
dec edi
jne 0x4d1647
mov esi, dword [esp + 0x24]
push esi
call fcn.005dd7a4
add esp, 4
or edi, 0xffffffff
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], 0
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], edi
call fcn.005dd1b0
mov eax, 2
jmp 0x4d1ac7
lea ecx, [esp + 0x70]
call fcn.0042e640
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x88]
push eax
mov byte [esp + 0xec], 4
call fcn.005dd29d
mov al, byte [esp + 0x70]
mov dl, byte [esp + 0xf8]
and al, 0xf7
push str.exec
or al, 4
mov cl, al
xor cl, dl
mov edx, dword [esp + 0x14]
and cl, 3
push edx
xor al, cl
mov byte [esp + 0x78], al
call fcn.00510843
add esp, 8
test eax, eax
jne 0x4d18c0
cmp dword [esp + 0x28], 1
jne 0x4d182f
lea eax, [esp + 0x16]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0xec], 5
call fcn.00482bc0
push str.configs_
lea ecx, [esp + 0x68]
mov byte [esp + 0xec], 6
call fcn.00431e90
mov esi, eax
push 1
lea ecx, [esp + 0x24]
mov byte [esp + 0xec], 7
call fcn.0041be90
mov ecx, eax
call fcn.00404600
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
push esi
push ecx
call fcn.00467580
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.004fe910
lea ecx, [esp + 0x64]
mov bl, al
mov byte [esp + 0xe8], 6
call fcn.00402ab0
test bl, bl
je 0x4d17e7
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, ebp
xor esi, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
je 0x4d1800
mov ebx, dword [esp + 0x4c]
push 0
push 0
push esi
lea ecx, [esp + 0x4c]
call fcn.00482bd0
mov ecx, eax
call fcn.00404600
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00457510
mov ecx, ebx
call fcn.00447090
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, ebp
inc esi
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp esi, edx
jb 0x4d179b
jmp 0x4d1800
push str._nConfig_not_found_n
lea ecx, [esp + 0xf8]
call fcn.005dd540
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x40]
cmp ebp, edi
mov byte [esp + 0xe8], 8
je 0x4d181c
push 0
mov ecx, ebp
call fcn.00483b50
add ebp, 0xc
cmp ebp, edi
jne 0x4d180c
lea ecx, [esp + 0x40]
mov byte [esp + 0xe8], 4
call fcn.00479500
jmp 0x4d1840
push str._n_loadconfig__file__n
lea ecx, [esp + 0xf8]
call fcn.005dd540
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x104]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005dcf25
push 0
lea ecx, [esp + 0xbc]
call fcn.0042e790
mov esi, dword [esp + 0x38]
push eax
mov byte [esp + 0xf0], 9
mov ecx, dword [esi + 0x88]
add ecx, 0x160
call fcn.0042f1b0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe8], 4
call fcn.0042e870
mov ecx, dword [0x6c396c]
push 0
push 0x20
push esi
call fcn.00495c90
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 3
call fcn.0042e870
jmp 0x4d1a78
mov eax, dword [0x6a4e08]
test eax, eax
je 0x4d18f7
mov esi, 0x6a4e10
mov eax, dword [esi - 4]
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.00510588
add esp, 8
test eax, eax
jne 0x4d18ed
mov ecx, dword [esi]
mov eax, dword [esp + 0x28]
cmp ecx, eax
je 0x4d18f7
mov eax, dword [esi + 8]
add esi, 0x10
test eax, eax
jne 0x4d18ce
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x70]
push 0
push edx
mov ecx, dword [esi + 0x88]
add ecx, 0x160
call fcn.0042f1b0
lea ecx, [esp + 0x70]
mov byte [esp + 0xe8], 3
call fcn.0042e870
lea ecx, [esp + 0xf4]
call fcn.005dd13b
mov eax, dword [0x6a4e08]
test eax, eax
je 0x4d1a12
mov esi, 0x6a4e14
mov al, byte [esp + 0x17]
test al, al
je 0x4d198a
mov eax, dword [esi - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.005dd21e
mov eax, dword [esp + 0x10]
push 0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xf0], 0xa
call fcn.004f58e0
cmp eax, 0xffffffff
lea ecx, [esp + 0x18]
sete bl
mov byte [esp + 0xe8], 3
call fcn.005dd1b0
test bl, bl
jne 0x4d1a00
mov al, byte [esp + 0x16]
test al, al
je 0x4d19a7
mov eax, dword [esi - 8]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.00510588
add esp, 8
test eax, eax
jne 0x4d1a00
cmp dword [esi], 0
je 0x4d1a00
push 0x2f
lea ecx, [esp + 0xf8]
call fcn.005dd567
mov eax, dword [esi - 8]
lea ecx, [esp + 0xf4]
push eax
call fcn.005dd540
cmp dword [esi], 0
je 0x4d19ef
push 0x6973d0
lea ecx, [esp + 0xf8]
call fcn.005dd540
mov eax, dword [esi]
lea ecx, [esp + 0xf4]
push eax
call fcn.005dd540
push 0x697cb4
lea ecx, [esp + 0xf8]
call fcn.005dd540
mov eax, dword [esi + 4]
add esi, 0x10
test eax, eax
jne 0x4d1942
mov esi, dword [esp + 0x34]
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x104]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.005dcf25
push 0
lea ecx, [esp + 0xbc]
call fcn.0042e790
mov ecx, dword [esi + 0x88]
push eax
add ecx, 0x160
mov byte [esp + 0xf0], 0xb
call fcn.0042f1b0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xe8], 3
call fcn.0042e870
mov ecx, dword [0x6c396c]
push 0
push 0x20
push esi
call fcn.00495c90
lea ecx, [esp + 0x10]
mov byte [esp + 0xe8], 2
call fcn.005dd1b0
lea ecx, [esp + 0x20]
mov byte [esp + 0xe8], 1
call fcn.00404a20
lea ecx, [esp + 0xf0]
mov byte [esp + 0xe8], 0
call fcn.005dd1b0
lea ecx, [esp + 0xf4]
mov dword [esp + 0xe8], 0xffffffff
call fcn.005dd1b0
xor eax, eax
mov ecx, dword [esp + 0xe0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xdc
ret 0x10