Function at 0x4234e0
Capabilities:
Parse credit card information
Read .ini file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48c35e
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov eax, dword [esp + 0x184]
add esp, 4
test eax, eax
jne 0x423530
mov dword [ebp + 0x445c], 0x1388
mov dword [ebp + 0x4330], 0
cmp dword [esp + 0x17c], 0x2e
jae 0x423554
mov eax, dword [ebp]
push 1
push 0
push 0
push 0xd7
mov ecx, ebp
call dword [eax + 0xc]
xor eax, eax
jmp 0x424e3d
mov ecx, dword [esp + 0x178]
xor eax, eax
lea ebx, [ebp + 0x37d8]
lea edx, [ecx + 1]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x10
jbe 0x423596
mov ecx, dword [edx]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov byte [ebp + 0x37e8], 0
jmp 0x4235b5
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, ebp
call fcn.0040b700
mov ecx, dword [esp + 0x17c]
mov edx, dword [esp + 0x178]
call dword [sym.imp.rm3944.dll_NewUserAllocMemForSkills]
mov esi, eax
push ecx
push edx
mov ecx, ebp
mov dword [esp + 0x4c], esi
call fcn.00422ab0
test eax, eax
je 0x424862
mov eax, dword [ebp + 0x4504]
mov eax, dword [eax + 0x32c4]
cmp eax, 0xb4
jl 0x423601
cmp eax, 0xbc
jle 0x42360f
mov ecx, dword [esi + 0x18]
push 1
push ebx
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CArmy::GetArmyID_char___int_]
jmp 0x423619
mov ecx, dword [esi + 8]
push ebx
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CUserDB::GetBattleMatchBase_char_const__]
test eax, eax
mov dword [ebp + 0x42c8], eax
jge 0x42362d
mov dword [ebp + 0x42c8], 0
lea ecx, [esp + 0x84]
push ebx
push ecx
mov ecx, ebp
call fcn.00428fc0
lea edx, [esp + 0x84]
push 1
push edx
mov ecx, ebp
call fcn.0043eca0
mov eax, dword [ebp + 0x4214]
test eax, eax
ja 0x423662
mov eax, dword [ebp + 0x4158]
test eax, eax
jbe 0x423669
mov ecx, ebp
call fcn.00440090
mov ecx, dword [esi + 0x40]
push ebx
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CSpecialItem::GetUserItem_struct_USERDB__]
mov eax, dword [ebp + 0x3f5c]
mov dword [ebp + 0x4360], eax
mov ecx, dword [ebp + 0x3f60]
mov dword [ebp + 0x4364], ecx
mov edx, dword [ebp + 0x3f64]
mov dword [ebp + 0x4368], edx
mov eax, dword [ebp + 0x3f68]
mov dword [ebp + 0x436c], eax
mov ecx, dword [ebp + 0x4504]
mov eax, dword [esp + 0x180]
mov ebx, dword [ecx + 0x32c4]
cmp eax, 1
jne 0x423703
mov ax, word [ebp + 0x37fe]
movsx edx, ax
cmp ebx, edx
je 0x423703
mov cx, word [ebp + 0x3800]
mov dx, word [ebp + 0x3802]
mov word [esp + 0x14], cx
mov cl, byte [ebp + 0x3804]
mov word [esp + 0x16], dx
push 0
push 0
lea edx, [esp + 0x1c]
mov byte [esp + 0x20], cl
push eax
push edx
mov ecx, ebp
call fcn.0043ed40
xor eax, eax
jmp 0x424e3d
cmp word [ebp + 0x37fe], 0x4a
jne 0x423741
mov ecx, ebp
call fcn.00438350
test eax, eax
jne 0x423741
push eax
mov byte [esp + 0x1c], al
push eax
lea eax, [esp + 0x1c]
push 1
push eax
mov ecx, ebp
mov word [esp + 0x24], 0x8e
mov word [esp + 0x26], 0xb
call fcn.0043ed40
xor eax, eax
jmp 0x424e3d
mov eax, dword [ebp + 0x4168]
mov esi, 0x100
test esi, eax
je 0x42376b
mov edx, dword [ebp]
lea eax, [esp + 0x13]
push 1
push eax
push 1
push 0x3f5
mov ecx, ebp
mov byte [esp + 0x23], 1
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x4168]
and ecx, 0x4000
mov dword [esp + 0x34], ecx
je 0x423786
or word [ebp + 0x4028], si
jmp 0x42378f
and word [ebp + 0x4028], 0xfeff
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
push ebx
lea edx, [esp + 0x44]
push 0x49b020
push edx
mov dword [esp + 0x17c], 0
call sub.MFC42.DLL_CString::Format
push str.Config_rmServer.ini
lea eax, [esp + 0x4c]
push 0
push eax
call dword [sym.imp.Staff2.dll_class_CString___cdecl_STAFFGetInstancePathAndFilename_struct_HINSTANCE_____char_const__]
add esp, 0x18
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
push ecx
lea edx, [esp + 0xb8]
push 0x64
push edx
push str.NoLevel
push eax
push str.MapLevel
mov byte [esp + 0x188], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x117], 0
mov esi, str.NoLevel
lea eax, [esp + 0xb4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x423834
test cl, cl
je 0x423830
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x423834
add eax, 2
add esi, 2
test cl, cl
jne 0x423810
xor eax, eax
jmp 0x423839
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4239a1
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x24]
push 0x49b640
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x178], 2
call sub.MFC42.DLL_CString::SpanExcluding
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x170], 3
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 4
call fcn.00489c52
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 3
call fcn.00489b20
mov eax, dword [esp + 0x24]
mov edi, dword [sym.imp.MSVCRT.dll_atol]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x28]
mov esi, eax
push str._t_
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::SpanIncluding
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x174], 5
call fcn.00489c52
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 3
call fcn.00489b20
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov eax, dword [edx - 8]
mov edx, dword [ecx - 8]
sub eax, edx
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x174], 6
call fcn.00489c52
lea ecx, [esp + 0x28]
mov byte [esp + 0x170], 3
call fcn.00489b20
mov eax, dword [esp + 0x1c]
push eax
call edi
add esp, 4
lea ecx, [esp + 0x34]
mov edi, eax
mov dword [esp + 0x34], esi
push 8
push ecx
push 0x64
mov ecx, ebp
mov dword [esp + 0x44], edi
call fcn.0043fc10
cmp esi, edi
ja 0x42397f
mov eax, dword [ebp + 0x37f8]
cmp eax, esi
jb 0x423977
cmp eax, edi
jbe 0x42397f
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x170], 2
call fcn.00489b20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 1
call fcn.00489b20
mov ecx, dword [ebp + 0x4504]
lea esi, [ebp + 0x37d8]
push esi
call fcn.00468360
mov edx, dword [ebp + 0x4504]
mov ecx, dword [edx + 0x3544]
test ecx, ecx
jne 0x4239c7
test eax, eax
je 0x4239d3
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x423ab9
mov eax, dword [ebp + 0x4168]
and eax, 1
mov dword [esp + 0x34], eax
jne 0x423ab9
push 0
push 0
push 0x1c
mov ecx, ebp
call fcn.0043fc10
lea eax, [ebx - 0x2b]
cmp eax, 3
ja case.default.0x4239ff
jmp dword [eax*4 + 0x424e58]
push 0
push 0
mov word [esp + 0x1c], 4
mov word [esp + 0x1e], 0xd
mov byte [esp + 0x20], 1
push 0x2b
lea ecx, [esp + 0x20]
jmp 0x424835
push 0
push 0
lea edx, [esp + 0x1c]
push 0x2b
mov word [esp + 0x20], 0xf
mov word [esp + 0x22], 0xc
mov byte [esp + 0x24], 0
push edx
jmp 0x424836
push 0
push 0
lea eax, [esp + 0x1c]
push 0x2b
mov word [esp + 0x20], 0x19
mov word [esp + 0x22], 0xa
mov byte [esp + 0x24], 0
push eax
jmp 0x424836
push 0
push 0
mov word [esp + 0x1c], 0x7a
mov word [esp + 0x1e], 0x58
mov byte [esp + 0x20], 1
push 0x1d
lea ecx, [esp + 0x20]
jmp 0x424835
push 0
push 0
mov ecx, ebp
mov word [esp + 0x1c], 8
mov word [esp + 0x1e], 0xe
mov byte [esp + 0x20], 1
call fcn.0043c0f0
lea edx, [esp + 0x1c]
push eax
push edx
jmp 0x424836
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
push esi
lea ecx, [ebp + 0x21b8]
call fcn.00409850
mov eax, dword [ebp + 0x4504]
mov eax, dword [eax + 0x32c4]
mov word [ebp + 0x37fe], ax
mov eax, dword [ebp + 0x449c]
cmp eax, 1
jne 0x423b8c
mov eax, dword [ebp + 0x4504]
cmp dword [eax + 0x32c4], 0x57
jne 0x423b8c
mov ecx, dword [eax + 0x35d0]
test ecx, ecx
jg 0x423b8c
mov eax, dword [ebp + 0x4168]
test eax, eax
jne 0x423b8c
mov ecx, 0x3c
xor eax, eax
lea edi, [ebp + 0x4030]
lea edx, [ebp + 0x4024]
rep stosd dword es:[edi], eax
xor ecx, ecx
lea edi, [ebp + 0x4120]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, 0xd
rep stosd dword es:[edi], eax
lea eax, [ebp + 0x402c]
mov ecx, eax
xor eax, eax
xor edx, edx
mov dword [ecx], eax
lea ecx, [ebp + 0x4218]
mov dword [ebp + 0x422c], 0x64
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], edx
mov byte [ecx + 0x10], dl
mov dword [ebp + 0x4230], eax
mov dword [ebp + 0x4234], eax
mov dword [ebp + 0x423c], eax
mov dword [ebp + 0x4238], eax
jmp 0x424170
xor esi, esi
mov edi, 0x4000
mov ebx, 0x100
mov eax, dword [ebp + esi*4 + 0x4030]
test eax, eax
jbe case.0x423bb0.28
cmp esi, 0x3b
ja case.0x423bb0.28
jmp dword [esi*4 + 0x424e68]
or byte [ebp + 0x4024], 1
jmp 0x423e79
or byte [ebp + 0x4024], 2
jmp 0x423e79
or byte [ebp + 0x4024], 4
jmp 0x423e79
or byte [ebp + 0x4024], 8
jmp 0x423e79
or byte [ebp + 0x4024], 0x10
jmp 0x423e79
or byte [ebp + 0x4024], 0x20
jmp 0x423e79
or byte [ebp + 0x4024], 0x40
jmp 0x423e79
or byte [ebp + 0x4024], 0x80
jmp 0x423e79
or word [ebp + 0x4024], bx
jmp 0x423e79
or byte [ebp + 0x4025], 2
jmp 0x423e79
or byte [ebp + 0x4025], 4
jmp 0x423e79
or byte [ebp + 0x4025], 8
jmp 0x423e79
or byte [ebp + 0x4025], 0x10
jmp 0x423e79
or byte [ebp + 0x4025], 0x20
jmp 0x423e79
or word [ebp + 0x4024], di
jmp 0x423e79
mov ecx, dword [ebp + 0x4500]
or byte [ebp + 0x4025], 0x80
test ecx, ecx
je 0x423e79
lea eax, [ebp + 0x37d8]
lea edx, [ebp + 0x4218]
push eax
push edx
call fcn.00488990
jmp 0x423e79
or byte [ebp + 0x4026], 1
jmp 0x423e79
or byte [ebp + 0x4026], 2
jmp 0x423e79
or byte [ebp + 0x4026], 4
jmp 0x423e79
or byte [ebp + 0x4026], 8
jmp 0x423e79
or byte [ebp + 0x4026], 0x10
jmp 0x423e79
or byte [ebp + 0x4026], 0x20
jmp 0x423e79
or byte [ebp + 0x4026], 0x40
jmp 0x423e79
or byte [ebp + 0x4026], 0x80
jmp 0x423e79
or word [ebp + 0x4026], bx
jmp 0x423e79
or byte [ebp + 0x4027], 2
jmp 0x423e79
or byte [ebp + 0x4027], 4
jmp 0x423e79
or byte [ebp + 0x4027], 8
jmp 0x423e79
or word [ebp + 0x4026], di
jmp 0x423e79
or byte [ebp + 0x4027], 0x80
jmp 0x423e79
or byte [ebp + 0x4028], 1
jmp 0x423e79
or byte [ebp + 0x4028], 2
jmp 0x423e79
or byte [ebp + 0x4028], 4
jmp 0x423e79
or byte [ebp + 0x4028], 8
jmp 0x423e79
or byte [ebp + 0x4028], 0x40
jmp 0x423e79
or byte [ebp + 0x4029], 4
jmp 0x423e79
or byte [ebp + 0x4029], 8
jmp 0x423e79
or byte [ebp + 0x4029], 0x10
jmp 0x423e79
or byte [ebp + 0x4029], 0x20
jmp 0x423e79
or word [ebp + 0x4028], di
jmp 0x423e79
or byte [ebp + 0x4029], 0x80
jmp 0x423e79
or byte [ebp + 0x402a], 1
jmp 0x423e79
or byte [ebp + 0x402a], 2
jmp 0x423e79
or byte [ebp + 0x402a], 4
jmp 0x423e79
or byte [ebp + 0x402a], 8
jmp 0x423e79
or byte [ebp + 0x402a], 0x10
jmp 0x423e79
or byte [ebp + 0x402a], 0x20
jmp 0x423e79
or byte [ebp + 0x402a], 0x40
jmp 0x423e79
or byte [ebp + 0x402a], 0x80
jmp 0x423e79
or word [ebp + 0x402a], bx
jmp 0x423e79
or byte [ebp + 0x402b], 2
jmp 0x423e79
or byte [ebp + 0x402b], 8
jmp 0x423e79
cmp esi, 0x25
jne 0x423e79
mov al, byte [ebp + 0x4028]
and al, 0x20
cmp al, 0x20
jne 0x423e69
push 1
mov ecx, ebp
call fcn.0043a710
mov eax, dword [ebp + 0x40c4]
test eax, eax
jne 0x423e60
mov byte [ebp + 0x37d0], 2
jmp 0x423e79
mov byte [ebp + 0x37d0], 1
jmp 0x423e79
push 0
mov ecx, ebp
mov byte [ebp + 0x37d0], 0
call fcn.0043a710
inc esi
cmp esi, 0x3c
jl 0x423b98
xor esi, esi
mov eax, dword [ebp + esi*4 + 0x4120]
test eax, eax
jbe case.default.0x423e9d
cmp esi, 0xc
ja case.default.0x423e9d
jmp dword [esi*4 + 0x424f58]
cmp eax, 0x7530
jae 0x423eb2
mov eax, 1
jmp 0x423ebc
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402c]
xor al, cl
and eax, 3
xor eax, ecx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x423ee4
mov eax, 1
jmp 0x423eee
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402c]
and eax, 3
shl eax, 2
and ecx, 0xfff3
or eax, ecx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x423f1d
mov eax, 1
jmp 0x423f27
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov dx, word [ebp + 0x402c]
and eax, 3
shl eax, 4
and edx, 0xffcf
or eax, edx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x423f56
mov eax, 1
jmp 0x423f60
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402c]
and eax, 3
shl eax, 6
and ecx, 0xff3f
or eax, ecx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x423f8f
mov eax, 1
jmp 0x423f99
cmp eax, 0xea60
sbb eax, eax
add eax, 3
and al, 3
xor edx, edx
mov dh, al
mov ax, word [ebp + 0x402c]
and eax, 0xfcff
or edx, eax
mov word [ebp + 0x402c], dx
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x423fc7
mov eax, 1
jmp 0x423fd1
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402c]
and eax, 3
shl eax, 0xa
and ecx, 0xf3ff
or eax, ecx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x424000
mov eax, 1
jmp 0x42400a
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov dx, word [ebp + 0x402c]
and eax, 3
shl eax, 0xc
and edx, 0xcfff
or eax, edx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x424039
mov eax, 1
jmp 0x424043
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402c]
shl eax, 0xe
and ecx, 0x3fff
or eax, ecx
mov word [ebp + 0x402c], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x42406f
mov eax, 1
jmp 0x424079
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402e]
mov dl, cl
xor dl, al
and edx, 3
xor edx, ecx
jmp 0x42415f
cmp eax, 0x7530
jae 0x42409c
mov eax, 1
jmp 0x4240a6
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402e]
and eax, 3
shl eax, 2
and ecx, 0xfff3
or eax, ecx
mov word [ebp + 0x402e], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x4240d5
mov eax, 1
jmp 0x4240df
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov dx, word [ebp + 0x402e]
and eax, 3
shl eax, 4
and edx, 0xffcf
or eax, edx
mov word [ebp + 0x402e], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x42410b
mov eax, 1
jmp 0x424115
cmp eax, 0xea60
sbb eax, eax
add eax, 3
mov cx, word [ebp + 0x402e]
and eax, 3
shl eax, 6
and ecx, 0xff3f
or eax, ecx
mov word [ebp + 0x402e], ax
jmp case.default.0x423e9d
cmp eax, 0x7530
jae 0x424141
mov eax, 1
jmp 0x42414b
cmp eax, 0xea60
sbb eax, eax
add eax, 3
and al, 3
xor edx, edx
mov dh, al
mov ax, word [ebp + 0x402e]
and eax, 0xfcff
or edx, eax
mov word [ebp + 0x402e], dx
inc esi
cmp esi, 0xd
jl 0x423e85
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x60]
xor ebx, ebx
lea eax, [esp + 0x68]
push edx
lea edi, [ebp + 0x37d8]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x64], ebx
mov ecx, dword [ecx + 8]
push eax
push edi
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CUserDB::GetSurvivalInfo_char_const___int___unsigned_long_int__]
test eax, eax
je 0x4241c7
cmp dword [esp + 0x68], ebx
je 0x4241be
or byte [ebp + 0x4027], 0x20
lea ecx, [esp + 0x60]
push 4
push ecx
push 0x8e
mov ecx, ebp
call fcn.0043fc10
jmp 0x4241c7
and word [ebp + 0x4026], 0xdfff
mov ecx, ebp
call fcn.0042d8e0
mov esi, dword [esp + 0x180]
mov dword [ebp + 0x4320], eax
cmp esi, 1
jne 0x424200
mov dx, word [ebp + 0x3800]
mov ax, word [ebp + 0x3802]
mov cl, byte [ebp + 0x3804]
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], ax
jmp 0x42421e
mov dx, word [ebp + 0x4470]
mov ax, word [ebp + 0x4472]
mov cl, byte [ebp + 0x4474]
mov word [esp + 0x2c], dx
mov word [esp + 0x2e], ax
lea edx, [esp + 0x2c]
mov byte [esp + 0x30], cl
mov ecx, dword [ebp + 0x4504]
push edx
call fcn.004719a0
mov ax, word [esp + 0x2c]
mov cx, word [esp + 0x2e]
mov dl, byte [esp + 0x30]
mov word [ebp + 0x3800], ax
lea eax, [esp + 0x2c]
mov word [ebp + 0x3802], cx
push 2
push eax
mov ecx, ebp
mov byte [ebp + 0x3804], dl
call fcn.0043ff30
push ebx
mov ecx, ebp
call fcn.004346c0
push ebx
mov ecx, ebp
call fcn.00434780
mov ecx, ebp
call fcn.00434820
mov ecx, ebp
call fcn.004348c0
mov ecx, ebp
call fcn.00434a70
mov ecx, ebp
call fcn.00434c20
mov ecx, ebp
call fcn.00434c80
mov ecx, ebp
call fcn.00434f50
cmp dword [ebp + 0x3f74], ebx
jne 0x4242d9
push ebx
push ebx
mov ecx, ebp
call fcn.0043b7c0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 0
call fcn.00489b20
lea ecx, [esp + 0x40]
mov dword [esp + 0x170], 0xffffffff
call fcn.00489b20
xor eax, eax
jmp 0x424e3d
mov ecx, ebp
call fcn.00434320
mov ecx, ebp
call fcn.004352d0
mov ecx, ebp
call fcn.00434ef0
mov ecx, ebp
call fcn.004350a0
mov ecx, ebp
call fcn.00439f10
mov ecx, ebp
call fcn.00439d50
mov ecx, ebp
call fcn.00439da0
mov ecx, ebp
call fcn.00439dd0
mov ecx, ebp
call fcn.00439e10
mov ecx, ebp
call fcn.00439e40
mov ecx, ebp
call fcn.00439e70
mov ecx, ebp
call fcn.00439ea0
mov ecx, ebp
call fcn.0043a110
mov ecx, ebp
call fcn.0043a160
mov ecx, ebp
call fcn.0043a1b0
mov ecx, ebp
call fcn.0043a200
mov ecx, ebp
call fcn.0043a250
mov ecx, ebp
call fcn.0043a2a0
mov ecx, ebp
call fcn.0043a2f0
push ebx
push ebx
mov ecx, ebp
call fcn.00439f50
push ebx
push ebx
mov ecx, ebp
call fcn.00439fa0
mov ecx, ebp
call fcn.0043a0a0
mov ecx, ebp
call fcn.0043a0d0
mov ecx, ebp
call fcn.0043a0f0
mov eax, dword [ebp + 0x42d8]
mov ecx, dword [ebp + 0x3f74]
cmp ecx, eax
jbe 0x4243a2
mov ecx, ebp
mov dword [ebp + 0x3f74], eax
call fcn.00439c00
mov eax, dword [ebp + 0x42e0]
mov ecx, dword [ebp + 0x3f78]
cmp ecx, eax
jbe 0x4243bf
mov ecx, ebp
mov dword [ebp + 0x3f78], eax
call fcn.00439cd0
cmp dword [ebp + 0x449c], 1
je 0x4244a3
mov ecx, ebp
call fcn.0040b670
test eax, eax
jne 0x4244a3
mov ecx, ebp
call fcn.0040b6b0
test eax, eax
jne 0x4244a3
cmp dword [ebp + 0x4158], ebx
jne 0x4244a3
cmp dword [ebp + 0x4214], ebx
jne 0x4244a3
mov ecx, ebp
call fcn.004382f0
cmp eax, 1
jne 0x42441a
mov ecx, ebp
call fcn.004381d0
jmp 0x4244a3
cmp dword [ebp + 0x37f8], 0x32
jb 0x424444
mov eax, dword [ebp + 0x4170]
mov ecx, eax
and ecx, 0x40
test cl, cl
je 0x424444
and eax, 0x80
test al, al
jne 0x424444
mov ecx, ebp
call fcn.00438260
jmp 0x4244a3
mov eax, dword [ebp + 0x4170]
test ah, 0x20
je 0x4244a3
test ah, 0x40
jne 0x4244a3
or ah, 0x40
mov ecx, ebp
mov dword [ebp + 0x4170], eax
call fcn.0040b700
mov edx, dword [ebp + 0x4170]
mov eax, dword [eax + 8]
push edx
push edi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CUserDB::SetStoryQuestState_char_const___unsigned_long_int_]
mov ecx, ebp
call fcn.0040b700
mov eax, dword [eax + 0x38]
push edi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CQuest::SendKasamSpaceshipMail_char_const__]
mov ecx, ebp
call fcn.0040b700
mov eax, dword [eax + 8]
push edi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_unsigned_long_int___thiscall_CUserDB::GetStoryQuestState_char_const__]
mov dword [ebp + 0x4170], eax
mov ecx, ebp
call fcn.004254e0
lea eax, [esp + 0x84]
push edi
push eax
mov ecx, ebp
call fcn.00428fc0
mov ecx, dword [ebp + 0x42c8]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0x4504]
call dword [sym.imp.rm3944.dll_NewLoadSkillsToCIS]
nop
push edx
push eax
push ebp
call fcn.00446fd0
mov ecx, dword [ebp + 0x4504]
push 0xffffffffffffffff
push edi
call fcn.00463ad0
cmp esi, ebx
je 0x424500
mov ecx, dword [ebp + 0x4504]
mov eax, dword [ecx + 0x32c4]
mov ecx, ebp
push eax
call fcn.0043f9b0
mov eax, dword [ebp + 0x4504]
mov ecx, dword [eax + 0x3690]
cmp ecx, ebx
je 0x42458a
cmp dword [eax + 0x3664], ebx
jne 0x42458a
cmp dword [eax + 0x32c4], 0x2e
je 0x42458a
mov edx, dword [ebp + 0x4508]
cmp dword [edx + 0x4c], ebx
jle 0x42458a
mov esi, dword [eax + 0x35d0]
cmp esi, 0xffffffff
jne 0x424560
lea ecx, [eax + 0x325c]
mov esi, 1
call fcn.00404d60
cmp eax, ebx
je 0x424560
mov eax, dword [eax]
cmp eax, 7
je 0x42455e
cmp eax, 0xa
jne 0x424560
mov esi, 2
jmp 0x424560
xor esi, esi
sub esi, ebx
je 0x42457c
dec esi
je 0x424573
dec esi
jne 0x42458a
push ebx
push ebx
push 0x163
jmp 0x424583
push ebx
push ebx
push 0x162
jmp 0x424583
push ebx
push ebx
push 0x161
mov ecx, ebp
call fcn.0043fc10
cmp dword [esp + 0x180], ebx
jne 0x4245ab
mov ecx, dword [esp + 0x44]
push edi
mov dword [ebp + 0x4560], ebx
mov byte [ebp + 0x4564], 0
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CGameDBServer::SetUser_struct_USERDB__]
movsx eax, word [ebp + 0x3802]
movsx ecx, word [ebp + 0x3800]
push eax
push ecx
mov ecx, dword [ebp + 0x4504]
add ecx, 0x323c
call fcn.00486430
cmp eax, ebx
jle 0x4245f2
mov ecx, dword [ebp + 0x4504]
push eax
add ecx, 0x325c
call fcn.00404d10
cmp eax, ebx
je 0x4245f2
cmp dword [eax], 0x16
jne 0x4245f2
mov ecx, ebp
call fcn.0041b520
mov edx, dword [ebp + 0x44ec]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov eax, dword [edx + 8]
cmp eax, ebx
mov dword [esp + 0x34], eax
jbe 0x4247ff
mov esi, dword [sym.imp.Staff2.dll_class_CString___cdecl_STAFFGetFirstWord_class_CString___char_const___char___int_]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push 0
push ebx
mov ecx, ebp
call fcn.00410560
test eax, eax
je 0x4247f2
mov eax, dword [ebp + 0x21b4]
lea edx, [esp + 0x1c]
mov ecx, dword [eax + ebx*4]
push ecx
mov ecx, dword [ebp + 0x44ec]
push ebx
push edx
call fcn.00405d40
push 1
push 0
lea eax, [esp + 0x24]
push 0x49b09c
lea ecx, [esp + 0x50]
push eax
push ecx
mov byte [esp + 0x184], 7
call esi
mov edx, dword [esp + 0x58]
push str.AppearAt
push edx
mov byte [esp + 0x18c], 8
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 0x1c
test eax, eax
jne 0x4247d0
push 1
push eax
lea eax, [esp + 0x24]
push 0x49b09c
lea ecx, [esp + 0x34]
push eax
push ecx
call esi
mov eax, dword [eax]
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.00489b20
push 1
push 0
lea edx, [esp + 0x24]
push 0x49b09c
lea eax, [esp + 0x84]
push edx
push eax
call esi
mov eax, dword [eax]
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x78]
mov dword [esp + 0x64], eax
call fcn.00489b20
push 1
push 0
lea ecx, [esp + 0x24]
push 0x49b09c
lea edx, [esp + 0x80]
push ecx
push edx
call esi
mov eax, dword [eax]
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x74]
mov dword [esp + 0x6c], eax
call fcn.00489b20
push 1
push 0
lea eax, [esp + 0x24]
push 0x49b09c
lea ecx, [esp + 0x88]
push eax
push ecx
call esi
mov eax, dword [eax]
push eax
call edi
add esp, 0x18
lea ecx, [esp + 0x7c]
mov dword [esp + 0x48], eax
call fcn.00489b20
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
movsx eax, word [ebp + 0x3802]
mov dword [esp + 0x58], ecx
push eax
movsx ecx, word [ebp + 0x3800]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x54]
push ecx
push eax
mov dword [esp + 0x68], edx
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, 1
jne 0x4247d0
mov ecx, dword [ebp + 0x21b4]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
mov edx, dword [ecx + ebx*4]
mov ecx, dword [ebp + 0x44ec]
push edx
push ebx
push eax
call fcn.00405da0
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
mov byte [esp + 0x178], 9
call sub.MFC42.DLL_CString::CString_1
push ebx
mov ecx, ebp
call fcn.004260b0
push eax
push ebx
mov ecx, ebp
call fcn.00425000
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 8
call fcn.00489b20
lea ecx, [esp + 0x44]
mov byte [esp + 0x170], 7
call fcn.00489b20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x170], 1
call fcn.00489b20
mov eax, dword [esp + 0x34]
inc ebx
cmp ebx, eax
jb 0x424619
mov eax, dword [ebp + 0x4504]
mov eax, dword [eax + 0x32c4]
cmp eax, 0x44
jne 0x424869
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x424869
push 0
push 0
mov word [esp + 0x1c], 0x1c
mov word [esp + 0x1e], 0x21
mov byte [esp + 0x20], 0
push 0x44
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.0043ed40
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 0
call fcn.00489b20
lea ecx, [esp + 0x40]
mov dword [esp + 0x170], 0xffffffff
call fcn.00489b20
xor eax, eax
jmp 0x424e3d
mov ecx, ebp
call fcn.0040b700
mov eax, dword [eax + 0x44]
lea ecx, [ebp + 0x37d8]
push ecx
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CGroupInfoDB::IsGroupMember_char__]
cmp eax, 1
jne 0x424970
push 0x14
call sub.MFC42.DLL_operatornew
xor edx, edx
mov ebx, eax
mov dword [eax], edx
lea edi, [ebp + 0x37d8]
add esp, 4
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov cl, byte [ebp + 0x37fc]
mov byte [ebx], cl
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebx + 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x3f74]
cmp ecx, 0x1312d00
jbe 0x424904
mov eax, 0x51eb851f
mul dword [ebp + 0x42d8]
mov esi, edx
mov eax, ecx
shr esi, 5
xor edx, edx
div esi
cmp al, 0x64
jae 0x424920
and eax, 0xff
jmp 0x424925
lea eax, [ecx + ecx*4]
xor edx, edx
lea eax, [eax + eax*4]
shl eax, 2
div dword [ebp + 0x42d8]
cmp al, 0x64
jae 0x424920
and eax, 0xff
jmp 0x424925
mov eax, 0x64
mov word [ebx + 0x12], ax
mov ecx, dword [ebp + 0x4504]
push ebx
call fcn.00460b70
test eax, eax
mov dword [ebp + 0x21b0], eax
jne 0x424954
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, ebp
mov byte [esp + 0x1b], 0xff
call fcn.00440680
jmp 0x424970
cmp dword [ebp + 0x449c], 1
jne 0x424970
mov ecx, dword [ebp + 0x4504]
push eax
lea eax, [ebp + 0x37d8]
push eax
call fcn.004731b0
mov ecx, ebp
call fcn.00424fa0
mov ecx, ebp
call fcn.0040b700
mov esi, dword [eax + 0x28]
xor ebx, ebx
cmp esi, ebx
je 0x4249e3
lea edx, [esp + 0x20]
lea edi, [ebp + 0x37d8]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CDumbList::GetDueTime_char_const___long_int__]
cmp eax, 1
jne 0x4249e3
lea eax, [esp + 0x48]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x38], ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
mov dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.00424f90
cmp eax, ebx
je 0x4249da
mov dword [ebp + 0x44c4], 1
jmp 0x4249e3
push edi
mov ecx, esi
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CDumbList::Remove_char_const__]
mov ecx, ebp
call fcn.0040b700
mov esi, dword [eax + 0x2c]
cmp esi, ebx
je 0x424a4d
lea edx, [esp + 0x20]
lea edi, [ebp + 0x37d8]
push edx
push edi
mov ecx, esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CChatLogList::GetDueTime_char_const___long_int__]
cmp eax, 1
jne 0x424a4d
lea eax, [esp + 0x48]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
push ecx
mov dword [esp + 0x38], ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
mov dword [ecx], eax
lea ecx, [esp + 0x38]
call fcn.00424f90
cmp eax, ebx
je 0x424a44
mov dword [ebp + 0x44c8], 1
jmp 0x424a4d
push edi
mov ecx, esi
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CChatLogList::Remove_char_const__]
mov edx, dword [ebp + 0x4504]
cmp dword [edx + 0x3550], ebx
jne 0x424a87
mov eax, dword [ebp + 0x4168]
and eax, 0x40000
mov dword [esp + 0x34], eax
jne 0x424a87
mov edx, dword [ebp]
lea eax, [esp + 0x13]
push 1
push eax
push 1
push 0x46f
mov ecx, ebp
mov byte [esp + 0x23], 0
call dword [edx + 0xc]
mov ecx, dword [ebp + 0x4504]
mov eax, dword [ecx + 0x32c4]
cmp eax, 0x84
jl 0x424ab2
cmp eax, 0x88
jg 0x424ab2
call fcn.00474800
cmp eax, 0x18
jge 0x424ab2
push str.AnnounceBattleArenaRule
jmp 0x424adb
mov ecx, dword [ebp + 0x4504]
mov eax, dword [ecx + 0x32c4]
cmp eax, 0xb4
jl 0x424ae2
cmp eax, 0xbc
jg 0x424ae2
call fcn.004748d0
cmp eax, 0x1d
jge 0x424ae2
push str.AnnounceBattleMatchRule
mov ecx, ebp
call fcn.00410410
mov ecx, ebp
call fcn.0040b670
test eax, eax
jne 0x424afb
mov ecx, dword [ebp + 0x4504]
cmp dword [ecx + 0x3694], ebx
jne 0x424b1c
mov ecx, ebp
call fcn.0040b6b0
test eax, eax
jne 0x424c84
mov edx, dword [ebp + 0x4504]
cmp dword [edx + 0x3698], ebx
je 0x424c84
mov ecx, ebp
call fcn.0040b700
mov eax, dword [eax + 0x4c]
lea esi, [ebp + 0x37e9]
lea edi, [ebp + 0x37d8]
push esi
push edi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CBattleArenaPay::GetPay_char_const___char_const__]
mov ebx, eax
test ebx, ebx
jle 0x424c84
mov ecx, ebp
call fcn.0040b700
mov eax, dword [eax + 0x4c]
push esi
push edi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_int___thiscall_CBattleArenaPay::DeletePay_char_const___char_const__]
cmp eax, 1
jne 0x424c84
dec ebx
je 0x424c4b
dec ebx
je 0x424bff
sub ebx, 8
jne 0x424c84
push 0
push 0
push 0
push 0
push 0
push 4
push 0x49
lea eax, [esp + 0x50]
push 6
push eax
mov ecx, ebp
call fcn.00431940
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x4c], edx
je 0x424bb0
mov ecx, edx
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.00432890
mov eax, dword [ebp + 0x4504]
mov byte [esp + 0x50], 5
mov word [esp + 0x52], 0
mov eax, dword [eax + 0x3664]
cmp eax, 1
jne 0x424bd7
mov dword [esp + 0x54], 0x1e8480
jmp 0x424bec
sub eax, 3
neg eax
sbb eax, eax
and eax, 0x76e8c900
add eax, 0x9502f900
mov dword [esp + 0x54], eax
lea ecx, [esp + 0x50]
push 1
push ecx
mov ecx, ebp
call fcn.004326b0
jmp 0x424c84
mov edx, dword [ebp + 0x4504]
mov byte [esp + 0x50], 5
mov word [esp + 0x52], 0
mov eax, dword [edx + 0x3664]
cmp eax, 1
jne 0x424c26
mov dword [esp + 0x54], 0x1e8480
jmp 0x424c3b
sub eax, 3
neg eax
sbb eax, eax
and eax, 0x76e8c900
add eax, 0x9502f900
mov dword [esp + 0x54], eax
lea eax, [esp + 0x50]
push 1
push eax
mov ecx, ebp
call fcn.004326b0
jmp 0x424c84
push 0
push 0
push 0
push 0
push 0
push 4
push 0x49
lea ecx, [esp + 0x88]
push 6
push ecx
mov ecx, ebp
call fcn.00431940
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x4c], edx
je 0x424c84
mov ecx, edx
mov edx, dword [eax]
push ecx
push edx
mov ecx, ebp
call fcn.00432890
mov eax, dword [ebp + 0x4504]
cmp dword [eax + 0x32c4], 0x29
jne 0x424e13
mov eax, dword [ebp + 0x4168]
test eax, eax
jne 0x424e13
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xb4]
push ecx
push 0x64
push edx
push str.NoItem
push str.ItemForEventMap1
push str.GameSetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x117], 0
mov esi, str.NoItem
lea eax, [esp + 0xb4]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x424d05
test cl, cl
je 0x424d01
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x424d05
add eax, 2
add esi, 2
test cl, cl
jne 0x424cdd
xor eax, eax
jmp 0x424d0a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x424e13
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x118]
mov dword [esp + 0x24], eax
rep stosd dword es:[edi], eax
lea esi, [esp + 0xb4]
lea ebx, [esp + 0x11a]
push 0x2e
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov edi, eax
add esp, 8
test edi, edi
je 0x424da0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x6c]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
push str._d:_d__d__d
push esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov eax, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
je 0x424d8c
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x424d8c
cmp eax, 6
je 0x424d8c
mov dx, word [esp + 0x6c]
mov byte [ebx - 2], al
mov word [ebx], dx
mov dword [ebx + 2], ecx
mov eax, dword [esp + 0x24]
add ebx, 0x10
inc eax
lea esi, [edi + 1]
cmp eax, 5
mov dword [esp + 0x24], eax
jl 0x424d34
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x424e13
lea esi, [esp + 0x118]
mov dword [esp + 0x20], eax
mov al, byte [esi]
test al, al
je 0x424e05
mov cx, word [esi + 2]
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
lea edx, [esp + 0x98]
push eax
push edx
mov ecx, ebp
call fcn.00431940
mov edi, dword [eax]
mov ebx, dword [eax + 4]
test edi, edi
je 0x424e05
mov ecx, ebx
mov edx, edi
push ecx
push edx
mov ecx, ebp
call fcn.00431880
test eax, eax
je 0x424e05
push 0
lea eax, [esi + 4]
push 0
push eax
push ebx
push edi
mov ecx, ebp
call fcn.004322a0
mov eax, dword [esp + 0x20]
add esi, 0x10
dec eax
mov dword [esp + 0x20], eax
jne 0x424db3
lea ecx, [esp + 0x3c]
mov byte [esp + 0x170], 0
call fcn.00489b20
lea ecx, [esp + 0x40]
mov dword [esp + 0x170], 0xffffffff
call fcn.00489b20
mov eax, 1
mov ecx, dword [esp + 0x168]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x164
ret 0xc