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

Disassembly:
push 0xffffffffffffffff
push 0x4a7e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push edi
mov ebx, ecx
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x15c], edi
call fcn.004bead8
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 1
call fcn.0050d46e
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 2
call fcn.0050d46e
lea ecx, [esp + 0x4c]
mov byte [esp + 0x15c], 3
call fcn.0050d46e
push edi
lea ecx, [esp + 0x118]
mov byte [esp + 0x160], 4
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
call fcn.004b3b78
push edi
lea ecx, [esp + 0x138]
mov byte [esp + 0x160], 5
call fcn.004b3b78
push edi
lea ecx, [esp + 0x148]
mov byte [esp + 0x160], 6
call fcn.004b3b78
push edi
lea ecx, [esp + 0x128]
mov byte [esp + 0x160], 7
call fcn.004b3b78
lea ecx, [esp + 0x78]
mov byte [esp + 0x15c], 8
call fcn.004af1d8
mov eax, dword [esp + 0x164]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x160], 9
call fcn.004bf388
test eax, eax
jne 0x48fe53
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x160], 0xc
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x160], 0xb
call dword [fcn.004b461c]
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x15c], 0xa
cmp eax, edi
je 0x48fd90
lea ecx, [esp + 0xa8]
call fcn.00494e58
cmp dword [esp + 0xd4], edi
jne 0x48fd7b
lea ecx, [esp + 0x78]
mov byte [esp + 0x15c], 8
call fcn.0047dea8
lea ecx, [esp + 0x124]
mov byte [esp + 0x15c], 7
call fcn.004b4098
lea ecx, [esp + 0x144]
mov byte [esp + 0x15c], 6
call fcn.004b4098
lea ecx, [esp + 0x134]
mov byte [esp + 0x15c], 5
call fcn.004b4098
lea ecx, [esp + 0x114]
mov byte [esp + 0x15c], 4
call fcn.004b4098
lea ecx, [esp + 0x4c]
mov byte [esp + 0x15c], 3
call fcn.0050d468
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 2
call fcn.0050d468
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 1
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.004bef48
lea ecx, [esp + 0x164]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x490a54
push 0x4d0bdc
lea ecx, [esp + 0x14]
call fcn.004bf508
test eax, eax
jne 0x48ff82
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x160], 0xf
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x160], 0xe
call dword [fcn.004b461c]
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x15c], 0xd
cmp eax, edi
je 0x48febf
lea ecx, [esp + 0xa8]
call fcn.00494e58
cmp dword [esp + 0xd4], edi
jne 0x48feaa
lea ecx, [esp + 0x78]
mov byte [esp + 0x15c], 8
call fcn.0047dea8
lea ecx, [esp + 0x124]
mov byte [esp + 0x15c], 7
call fcn.004b4098
lea ecx, [esp + 0x144]
mov byte [esp + 0x15c], 6
call fcn.004b4098
lea ecx, [esp + 0x134]
mov byte [esp + 0x15c], 5
call fcn.004b4098
lea ecx, [esp + 0x114]
mov byte [esp + 0x15c], 4
call fcn.004b4098
lea ecx, [esp + 0x4c]
mov byte [esp + 0x15c], 3
call fcn.0050d468
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 2
call fcn.0050d468
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 1
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.004bef48
lea ecx, [esp + 0x164]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x490a54
lea ecx, [esp + 0x10]
call fcn.004bf698
push 0x4d14e4
lea ecx, [esp + 0x14]
call fcn.004bf508
test eax, eax
jne 0x4900ba
push 1
lea ecx, [esp + 0x100]
mov byte [esp + 0x160], 0x12
call dword [fcn.004b461c]
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x160], 0x11
call dword [fcn.004b461c]
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x15c], 0x10
cmp eax, edi
je 0x48fff7
lea ecx, [esp + 0xa8]
call fcn.00494e58
cmp dword [esp + 0xd4], edi
jne 0x48ffe2
lea ecx, [esp + 0x78]
mov byte [esp + 0x15c], 8
call fcn.0047dea8
lea ecx, [esp + 0x124]
mov byte [esp + 0x15c], 7
call fcn.004b4098
lea ecx, [esp + 0x144]
mov byte [esp + 0x15c], 6
call fcn.004b4098
lea ecx, [esp + 0x134]
mov byte [esp + 0x15c], 5
call fcn.004b4098
lea ecx, [esp + 0x114]
mov byte [esp + 0x15c], 4
call fcn.004b4098
lea ecx, [esp + 0x4c]
mov byte [esp + 0x15c], 3
call fcn.0050d468
lea ecx, [esp + 0x50]
mov byte [esp + 0x15c], 2
call fcn.0050d468
lea ecx, [esp + 0x54]
mov byte [esp + 0x15c], 1
call fcn.0050d468
lea ecx, [esp + 0x10]
mov byte [esp + 0x15c], 0
call fcn.004bef48
lea ecx, [esp + 0x164]
mov dword [esp + 0x15c], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x490a54
push ebp
push esi
lea ecx, [esp + 0x18]
call fcn.004bf698
mov eax, dword [ebx + 8]
cmp eax, edi
jne 0x4900d0
xor ebp, ebp
jmp 0x4900d8
mov ebp, dword [ebx + 0xc]
sub ebp, eax
sar ebp, 2
xor esi, esi
cmp ebp, edi
jbe 0x4900f6
mov eax, dword [ebx + 8]
mov eax, dword [eax + esi*4]
push eax
mov dword [esp + 0x14], eax
call fcn.0050d474
add esp, 4
inc esi
cmp esi, ebp
jb 0x4900de
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [ebx + 4]
push eax
push edx
call fcn.004e1028
push 0x4d14d4
lea ecx, [esp + 0x1c]
call fcn.004bf508
mov esi, dword [fcn.004b46fc]
mov ebp, dword [fcn.004b4724]
test eax, eax
je 0x4902cc
push 0x40
call fcn.0050d486
mov edi, eax
mov ecx, 0x10
xor eax, eax
mov dword [esp + 0x14], edi
add esp, 4
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
push 0x4d0bd0
push ecx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov edx, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [edx], eax
call fcn.0050d468
lea eax, [esp + 0x44]
push 0x4d14d0
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 4], eax
lea ecx, [esp + 0x44]
call fcn.0050d468
lea edx, [esp + 0x3c]
push 0x4d0d48
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 8], eax
lea ecx, [esp + 0x3c]
call fcn.0050d468
lea edx, [esp + 0x40]
push 0x4d0bec
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x40]
call fcn.0050d468
lea edx, [esp + 0x48]
push 0x4d0b08
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x48]
call fcn.0050d468
lea edx, [esp + 0x34]
push 0x4d14c8
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push 0x13
push eax
mov eax, dword [esp + 0x18]
add eax, 0x14
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x34]
call fcn.0050d468
lea ecx, [esp + 0x50]
push 0x4d0b58
push ecx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push 0xf
add edx, 0x28
push eax
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x50]
call fcn.0050d468
lea eax, [esp + 0x38]
push 0x4d14c4
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 7
add ecx, 0x38
push eax
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x38]
call fcn.0050d468
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x10]
push edx
push 1
push eax
lea ecx, [ebx + 4]
call fcn.004e0e18
push 0x4d14d4
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
jne 0x490128
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.004bf748
push 0x4d14b8
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
je 0x4904b7
lea ecx, [esp + 0x18]
call fcn.004bf698
push 0x4d14ac
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
je 0x4904ae
push 0x40
call fcn.0050d486
mov edi, eax
mov ecx, 0x10
xor eax, eax
add esp, 4
mov dword [esp + 0x10], edi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push 0x4d0bd0
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.0050d468
lea edx, [esp + 0x50]
push 0x4d14d0
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 4], eax
lea ecx, [esp + 0x50]
call fcn.0050d468
lea edx, [esp + 0x34]
push 0x4d0d48
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 8], eax
lea ecx, [esp + 0x34]
call fcn.0050d468
lea edx, [esp + 0x48]
push 0x4d0bec
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x48]
call fcn.0050d468
lea edx, [esp + 0x40]
push 0x4d0b08
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x40]
call fcn.0050d468
lea edx, [esp + 0x3c]
push 0x4d14c8
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push 0x13
push eax
mov eax, dword [esp + 0x18]
add eax, 0x14
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.0050d468
lea ecx, [esp + 0x44]
push 0x4d0b58
push ecx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push 0xf
add edx, 0x28
push eax
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.0050d468
lea eax, [esp + 0x4c]
push 0x4d14c4
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push 7
add ecx, 0x38
push eax
push ecx
call ebp
add esp, 0xc
lea ecx, [esp + 0x4c]
call fcn.0050d468
mov eax, dword [ebx + 0xc]
lea edx, [esp + 0x10]
push edx
push 1
push eax
lea ecx, [ebx + 4]
call fcn.004e0e18
push 0x4d14ac
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
jne 0x49030a
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.004bf748
push 0x4d14a0
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
je 0x4906d0
lea ecx, [esp + 0x18]
call fcn.004bf698
push 0x4d1494
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
je 0x4906c7
push 0x13c
call fcn.0050d486
mov edi, eax
mov ecx, 0x4f
xor eax, eax
add esp, 4
mov dword [esp + 0x14], edi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x38]
push 0x4d0bd0
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.0050d468
lea edx, [esp + 0x50]
push 0x4d14d0
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 4], eax
lea ecx, [esp + 0x50]
call fcn.0050d468
lea edx, [esp + 0x34]
push 0x4d148c
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 8], eax
lea ecx, [esp + 0x34]
call fcn.0050d468
lea edx, [esp + 0x48]
push 0x4d0b08
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x48]
call fcn.0050d468
lea edx, [esp + 0x40]
push 0x4d0d48
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x40]
call fcn.0050d468
lea edx, [esp + 0x3c]
push 0x4d0b58
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push 0x17
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x14
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x3c]
call fcn.0050d468
lea ecx, [esp + 0x44]
push 0x4d1408
push ecx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push 0x103
add edx, 0x38
push eax
push edx
call ebp
add esp, 0xc
lea ecx, [esp + 0x44]
call fcn.0050d468
lea eax, [esp + 0x4c]
push 0x4d0bec
push eax
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push eax
call esi
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx + 0x2c], eax
lea ecx, [esp + 0x4c]
call fcn.0050d468
lea edx, [esp + 0x118]
push 0x4d14c4
push edx
lea ecx, [esp + 0x20]
call fcn.0048e4f8
mov eax, dword [eax]
push 7
push eax
mov eax, dword [esp + 0x1c]
add eax, 0x30
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x118]
call fcn.0050d468
mov eax, dword [ebx + 0x2c]
lea ecx, [esp + 0x14]
push ecx
push 1
push eax
lea ecx, [ebx + 0x24]
call fcn.004e0e18
push 0x4d1494
lea ecx, [esp + 0x1c]
call fcn.004bf508
test eax, eax
jne 0x4904ec
xor edi, edi
lea ecx, [esp + 0x18]
call fcn.004bf748
mov eax, dword [esp + 0x108]
mov byte [esp + 0x164], 0x13
cmp eax, edi
je 0x490700
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4906f7
cmp al, 0xff
je 0x4906f7
dec al
mov byte [ecx], al
jmp 0x490700
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x108], edi
cmp eax, edi
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], edi
je 0x49073d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x490734
cmp al, 0xff
je 0x490734
dec al
mov byte [ecx], al
jmp 0x49073d
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xdc]
mov dword [esp + 0xe4], edi
cmp eax, edi
mov dword [esp + 0xe8], edi
mov dword [esp + 0xec], edi
je 0x49087f
mov ecx, dword [esp + 0xbc]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0xc0], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xdc]
dec eax
mov dword [esp + 0xdc], eax
je 0x4907a6
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
cmp edx, eax
jne 0x490872
mov eax, dword [esp + 0xc0]
mov ecx, eax
add eax, 4
mov dword [esp + 0xc0], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xe0]
add esp, 4
cmp eax, edi
jne 0x490832
lea ecx, [esp + 0x60]
call fcn.004952b8
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0xb8], ecx
push eax
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], esi
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], esi
call fcn.0050d474
add esp, 4
jmp 0x490872
mov eax, dword [esp + 0xc0]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x78]
call fcn.004952c8
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
cmp dword [esp + 0xdc], edi
jne 0x490761
mov eax, dword [esp + 0xac]
mov byte [esp + 0x164], 8
cmp eax, edi
je 0x4909a2
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0xac]
add ecx, 4
dec eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0xac], eax
je 0x4908c9
mov eax, dword [esp + 0x88]
mov edx, ecx
cmp edx, eax
jne 0x490995
mov ecx, dword [esp + 0x90]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x90], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0xb0]
add esp, 4
cmp eax, edi
jne 0x490955
lea ecx, [esp + 0x70]
call fcn.004952b8
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x84], eax
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x88], ecx
push eax
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], esi
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], esi
call fcn.0050d474
add esp, 4
jmp 0x490995
mov eax, dword [esp + 0x90]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x68]
call fcn.004952c8
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
cmp dword [esp + 0xac], edi
jne 0x490896
lea ecx, [esp + 0x12c]
mov byte [esp + 0x164], 7
call fcn.004b4098
lea ecx, [esp + 0x14c]
mov byte [esp + 0x164], 6
call fcn.004b4098
lea ecx, [esp + 0x13c]
mov byte [esp + 0x164], 5
call fcn.004b4098
lea ecx, [esp + 0x11c]
mov byte [esp + 0x164], 4
call fcn.004b4098
lea ecx, [esp + 0x54]
mov byte [esp + 0x164], 3
call fcn.0050d468
lea ecx, [esp + 0x58]
mov byte [esp + 0x164], 2
call fcn.0050d468
lea ecx, [esp + 0x5c]
mov byte [esp + 0x164], 1
call fcn.0050d468
lea ecx, [esp + 0x18]
mov byte [esp + 0x164], 0
call fcn.004bef48
lea ecx, [esp + 0x16c]
mov dword [esp + 0x164], 0xffffffff
call fcn.0050d468
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x154]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 4