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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5051bc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8e0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x118]
cmp dword [edi + 0x114], ebx
lea esi, [edi + 0x110]
mov dword [esp + 0x30], esi
jbe 0x417125
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [esp + 0x2c], eax
jbe 0x41713b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
push esi
lea eax, [esp + 0x60]
push eax
push esi
call fcn.004184d0
lea ebx, [edi + 0x28]
add edi, 0x58
mov dword [esp + 0x34], ebx
call fcn.00428550
lea ecx, [esp + 0x60]
mov esi, eax
push ecx
mov dword [esp + 0x30], esi
call fcn.00413d60
xor edi, edi
mov dword [esp + 0x8f4], edi
call fcn.004195f0
mov dword [esp + 0x24], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x24]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x24]
mov dword [eax], eax
mov eax, dword [esp + 0x24]
mov dword [eax + 8], eax
mov dword [esp + 0x28], edi
mov ecx, ebx
mov byte [esp + 0x8f4], 1
call fcn.00418050
test eax, eax
jle 0x4175a0
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 4]
test eax, eax
mov dword [esp + 0x1c], 2
je 0x4171dd
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4171e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edx]
add eax, edx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x94]
call eax
cmp dword [esp + 0x1c], 1
je 0x417589
xor esi, esi
push 0x20a
lea ecx, [esp + 0xae]
push esi
push ecx
mov word [esp + 0xb4], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x20a
lea edx, [esp + 0x6de]
push esi
push edx
mov word [esp + 0x6e4], si
call sub.MSVCR80.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
cmp eax, esi
je 0x417269
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41726f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
mov ecx, dword [eax + esi]
add eax, esi
push 0x104
lea edx, [esp + 0xac]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
mov byte [esp + 0x8f8], 2
call fcn.00418210
lea ecx, [esp + 0x18]
mov dword [eax], edi
mov byte [esp + 0x8f4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
push 0x523240
lea ecx, [esp + 0x6c]
call dword [0x509114]
mov eax, dword [ebx + 4]
test eax, eax
je 0x41730e
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x417314
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 0x50]
lea eax, [ecx + esi]
push 0x104
lea ecx, [esp + 0x6dc]
push ecx
push eax
call edx
lea eax, [esp + 0x6d8]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
push 0x208
lea ecx, [esp + 0x4ce]
push 0
push ecx
mov word [esp + 0x4d4], 0
call sub.MSVCR80.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
test eax, eax
je 0x417386
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41738c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi]
lea eax, [edx + esi]
push 0x104
lea edx, [esp + 0x4cc]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
lea ecx, [esp + 0x4c8]
push ecx
lea ecx, [esp + 0x70]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4173dd
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4173e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 4]
mov ecx, dword [edx + esi]
lea eax, [edx + esi]
lea edx, [esp + 0x70]
push edx
push eax
mov eax, dword [ecx + 0x60]
call eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x41741a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x417420
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 0x40]
lea eax, [ecx + esi]
lea ecx, [esp + 0x80]
push ecx
push eax
call edx
mov eax, dword [ebx + 4]
test eax, eax
je 0x41745a
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x417460
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + esi]
add eax, esi
lea edx, [esp + 0x98]
push edx
push eax
mov eax, dword [ecx + 0x10]
call eax
mov eax, dword [ebx + 4]
test eax, eax
je 0x417499
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41749f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 8]
lea eax, [ecx + esi]
lea ecx, [esp + 0x88]
push ecx
push eax
call edx
push 0x208
lea eax, [esp + 0x2be]
push 0
push eax
mov word [esp + 0x2c4], 0
call sub.MSVCR80.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
test eax, eax
je 0x4174fa
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x417500
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 0x78]
lea eax, [ecx + esi]
push 0x104
lea ecx, [esp + 0x2bc]
push ecx
push eax
call edx
lea eax, [esp + 0x2b8]
push eax
lea ecx, [esp + 0x94]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
mov eax, dword [ebx + 4]
test eax, eax
je 0x417554
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x41755a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + esi]
mov edx, dword [edx + 0x80]
lea eax, [ecx + esi]
lea ecx, [esp + 0x94]
push ecx
push eax
call edx
mov esi, dword [esp + 0x30]
lea ebx, [esp + 0x60]
call fcn.00418190
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
add dword [esp + 0x14], 0x78
mov ecx, ebx
add edi, 1
call fcn.00418050
cmp edi, eax
jl 0x4171b2
xor edi, edi
mov eax, esi
mov dword [esp + 0x10], edi
call fcn.00418080
test eax, eax
jle 0x417719
lea eax, [esp + 0x20]
mov ecx, eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x18], edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4175df
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x4175e5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
lea ecx, [eax + 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ebx, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
push eax
lea ecx, [esp + 0x18]
call ebx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
mov byte [esp + 0x8f8], 3
call fcn.004195a0
mov edi, eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
call fcn.00419120
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x50]
push edi
push ecx
push eax
push edx
lea edi, [esp + 0x54]
mov dword [esp + 0x54], 0
call fcn.00419910
add esp, 0x10
cmp dword [esp + 0x44], 0
je 0x417803
mov ebx, dword [esp + 0x30]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x417665
xor edi, edi
jmp 0x41766d
mov edi, dword [ebx + 8]
sub edi, eax
sar edi, 6
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
call fcn.00418210
cmp dword [eax], edi
jae 0x4176e3
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.00418210
mov ecx, dword [ebx + 4]
test ecx, ecx
mov edi, dword [eax]
je 0x4176a2
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 6
cmp edi, eax
jb 0x4176a8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
shl edi, 6
add edi, dword [ebx + 4]
test ecx, ecx
je 0x4176c3
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x4176c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
lea ecx, [eax + 0x20]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [edi + 8]
call dword [0x509114]
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x8f4], 1
call edi
mov edi, dword [esp + 0x10]
add dword [esp + 0x18], 0x80
add edi, 1
mov eax, esi
mov dword [esp + 0x10], edi
call fcn.00418080
cmp edi, eax
jl 0x4175ca
mov ebx, dword [esp + 0x30]
mov edi, dword [ebx + 8]
cmp dword [ebx + 4], edi
jbe 0x41772b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x417739
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp ebx, ebx
je 0x417743
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, edi
sub edx, esi
push 0x417d80
sar edx, 6
push edx
push edi
push esi
call fcn.00419ca0
add esp, 0x10
mov byte [esp + 0x8f4], 0
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x60]
push eax
mov edi, ecx
call fcn.00418ec0
mov ecx, dword [esp + 0x24]
push ecx
call sub.MFC80U.DLL_Ordinal_764
xor eax, eax
add esp, 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x8f4], 0x10
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0x90]
call esi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x8f4], 0xf
call esi
lea ecx, [esp + 0x68]
mov byte [esp + 0x8f4], 0xe
call esi
lea ecx, [esp + 0x64]
mov byte [esp + 0x8f4], 0xd
call esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x8f4], 0xffffffff
call esi
mov ecx, dword [esp + 0x8ec]
pop edi
pop esi
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x64]
call dword [0x509140]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417827
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x41782d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
lea ecx, [eax + 0x20]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x6c]
call dword [0x509114]
push 0x2f
lea ecx, [esp + 0x6c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::ReverseFind_wchar_t_const]
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
test edi, edi
mov byte [esp + 0x8f4], 4
jl 0x4178a8
add edi, 1
push edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x70]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8f8], 5
call dword [0x509140]
mov byte [esp + 0x8f4], 4
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [esp + 0x58]
call edi
jmp 0x4178ae
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4178c3
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x4178c9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, dword [esp + 0x18]
lea ecx, [eax + 0x14]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x38]
call ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x8f4], 6
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x40]
call ebx
mov ecx, dword [ebp + 8]
add ecx, 0x124
mov byte [esp + 0x8f4], 7
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x4c]
call ebx
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x64]
push eax
mov byte [esp + 0x900], 8
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::CombinePath_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x8f8], 9
call dword [0x509140]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8f4], 8
call edi
lea ecx, [esp + 0x48]
mov byte [esp + 0x8f4], 7
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8f4], 6
call edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x3c]
call ebx
lea ecx, [esp + 0x64]
mov byte [esp + 0x8f4], 0xa
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x44]
call ebx
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x54]
mov bl, 0xb
push eax
mov byte [esp + 0x900], bl
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_Util::FS::CombinePath_class_CTXStringW_const___class_CTXStringW_const__]
add esp, 0xc
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x8f8], 0xc
call dword [0x509140]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x8f4], bl
call edi
lea ecx, [esp + 0x40]
mov byte [esp + 0x8f4], 0xa
call edi
mov byte [esp + 0x8f4], 6
lea ecx, [esp + 0x38]
call edi
mov eax, dword [esi + 4]
test eax, eax
je 0x417a10
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 7
cmp dword [esp + 0x10], ecx
jb 0x417a16
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x18]
add eax, ebx
lea ecx, [eax + 0x30]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x70]
call dword [0x509114]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417a48
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x417a4e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 4]
mov edx, dword [ecx + ebx + 0x48]
mov dword [esp + 0x80], edx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417a71
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x417a77
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx + 0x6c]
mov dword [esp + 0x98], ecx
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417a9a
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x417aa0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 4]
fld qword [edx + ebx + 8]
fstp qword [esp + 0x88]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417ac3
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x417ac9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
add eax, ebx
lea ecx, [eax + 0x74]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea ecx, [esp + 0x94]
call dword [0x509114]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x417afa
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 7
cmp dword [esp + 0x10], eax
jb 0x417b00
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
mov ecx, dword [eax + ebx + 0x78]
mov esi, dword [esp + 0x30]
lea ebx, [esp + 0x60]
mov dword [esp + 0x94], ecx
call fcn.00418190
lea ecx, [esp + 0x34]
mov byte [esp + 0x8f4], 4
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8f4], 3
call edi
mov esi, dword [esp + 0x2c]
jmp 0x4176e9