Function at 0x449000
Capabilities:
Enumerate pe sections
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45178b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x3784
call fcn.0044c770
mov eax, dword [0x471388]
push ebx
push esi
mov dword [esp + 0x3788], eax
mov esi, ecx
mov ecx, dword [0x478344]
xor eax, eax
mov ax, word [esi + 0x1a8]
push edi
push eax
call fcn.00442740
xor ebx, ebx
cmp eax, ebx
je 0x449811
add eax, 0xbe
mov dword [esi + 0x1b0], eax
mov word [esp + 0x640], bx
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x642]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x640]
push 0x104
push ecx
stosw word es:[edi], ax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov word [esp + 0x440], bx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x442]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
stosw word es:[edi], ax
mov eax, dword [esi + 0x1b0]
mov edx, dword [eax + 6]
mov eax, dword [eax + 2]
push edx
push eax
push ecx
lea edx, [esp + 0x654]
push edx
push str._s_sMatchMode__d__d
lea eax, [esp + 0x454]
push 0x104
push eax
call ebx
add esp, 0x24
lea ecx, [esp + 0x438]
push ecx
mov ecx, esi
call fcn.00443ae0
test al, al
je 0x449811
xor eax, eax
mov word [esp + 0x28], 0
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
lea edx, [esp + 0x438]
push edx
push str._sMatchResource.INI
stosw word es:[edi], ax
lea eax, [esp + 0x30]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x848]
call fcn.00444320
lea ecx, [esp + 0x28]
push ecx
push 1
push str.PositionMode
push str.Attribute
mov dword [esp + 0x37ac], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test al, al
mov byte [esi + 0x1b4], al
jne 0x449340
lea edx, [esp + 0x28]
push edx
push str.Point_MatchShow
push str.Position
lea eax, [esi + 0x1b8]
push eax
lea ecx, [esp + 0x858]
call fcn.00443340
lea ecx, [esp + 0x28]
push ecx
push str.Point_MatchText
push str.Position
lea edx, [esi + 0x1c0]
push edx
lea ecx, [esp + 0x858]
call fcn.00443340
lea eax, [esp + 0x28]
push eax
push str.Point_MatchJoin
push str.Position
lea ecx, [esi + 0x258]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443340
lea edx, [esp + 0x28]
push edx
push str.Point_MatchDetails
push str.Position
lea eax, [esi + 0x260]
push eax
lea ecx, [esp + 0x858]
call fcn.00443340
lea ecx, [esp + 0x28]
push ecx
push str.Point_Number1
push str.Position
lea edx, [esi + 0x248]
push edx
lea ecx, [esp + 0x858]
call fcn.00443340
lea eax, [esp + 0x28]
push eax
push str.Point_Number2
push str.Position
lea ecx, [esi + 0x250]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443340
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchMode
push str.Position
lea eax, [esi + 0x1c8]
push eax
lea ecx, [esp + 0x858]
call fcn.00443260
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MatchFee
push str.Position
lea edx, [esi + 0x1e8]
push edx
lea ecx, [esp + 0x858]
call fcn.00443260
lea eax, [esp + 0x28]
push eax
push str.Rect_StartCount
push str.Position
lea ecx, [esi + 0x218]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443260
lea edx, [esp + 0x28]
push edx
push str.Rect_PlayCount
push str.Position
lea eax, [esi + 0x228]
push eax
lea ecx, [esp + 0x858]
call fcn.00443260
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MinPlayCount
push str.Position
lea edx, [esi + 0x238]
push edx
lea ecx, [esp + 0x858]
call fcn.00443260
lea eax, [esp + 0x28]
push eax
push str.Rect_MatchEndTime
push str.Position
lea ecx, [esi + 0x208]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443260
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchStartTime
push str.Position
lea eax, [esi + 0x1f8]
push eax
lea ecx, [esp + 0x858]
call fcn.00443260
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MatchCondition
push str.Position
lea edx, [esi + 0x1d8]
push edx
lea ecx, [esp + 0x858]
call fcn.00443260
cmp byte [esi + 0x1b4], 1
jne 0x44965d
lea eax, [esp + 0x28]
push eax
push str.Point_InfoOffset
push str.Position
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443340
lea edx, [esp + 0x28]
push edx
push str.Point_MatchShow
push str.Position
lea eax, [esi + 0x1b8]
push eax
lea ecx, [esp + 0x858]
call fcn.00443340
lea ecx, [esp + 0x28]
push ecx
push str.Point_MatchText
push str.Position
lea edx, [esi + 0x1c0]
push edx
lea ecx, [esp + 0x858]
call fcn.00443340
lea eax, [esp + 0x28]
push eax
push str.Point_MatchJoin
push str.Position
lea ecx, [esi + 0x258]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443340
lea edx, [esp + 0x28]
push edx
push str.Point_MatchDetails
push str.Position
lea eax, [esi + 0x260]
push eax
lea ecx, [esp + 0x858]
call fcn.00443340
lea ecx, [esp + 0x28]
push ecx
push str.Point_Number1
push str.Position
lea edx, [esi + 0x248]
push edx
lea ecx, [esp + 0x858]
call fcn.00443340
lea eax, [esp + 0x28]
push eax
push str.Point_Number2
push str.Position
lea ecx, [esi + 0x250]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443340
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchMode
push str.Position
lea edi, [esi + 0x1c8]
push edi
lea ecx, [esp + 0x858]
call fcn.00443260
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0x1b0]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov al, byte [ecx + 0xa]
test al, al
jne 0x449585
mov edx, dword [esp + 0x20]
push edi
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x1f8]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x20]
push edi
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x208]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x1e8]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x20]
push edi
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x1d8]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x20]
push edi
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x238]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x1b0]
cmp byte [eax + 0xa], 1
jne 0x44965d
mov ecx, dword [esp + 0x20]
push edi
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x218]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x20]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x1e8]
mov dword [edx], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x20]
push edi
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x1d8]
mov dword [ecx], edx
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x20]
push edi
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [esi + 0x228]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov word [esp + 0x230], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x232]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x438]
push ecx
push str._sGround.bmp
lea edx, [esp + 0x238]
push 0x104
push edx
mov dword [esp + 0x30], eax
call ebx
add esp, 0x10
lea eax, [esp + 0x230]
lea edi, [esi + 0x2a4]
push eax
mov ecx, edi
call fcn.00448850
test eax, eax
jge 0x4496cf
mov ecx, dword [esp + 0x20]
push 0x104
push ecx
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::LoadFromResource_struct_HINSTANCE_____unsigned_int_]
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_MATCH__BACK.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
mov edi, dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0x8fc]
call edi
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_MATCH_SHOW.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0x4dc]
call edi
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_MATCH_TEXT.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0x6ec]
call edi
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_NUMBER1.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0xb0c]
call edi
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_NUMBER2.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0xd1c]
call edi
lea edx, [esp + 0x438]
push edx
push str._sIMAGE_WORDS.png
lea eax, [esp + 0x238]
push 0x104
push eax
call ebx
add esp, 0x10
lea ecx, [esp + 0x230]
push ecx
lea ecx, [esi + 0xf2c]
call edi
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00446420
lea ecx, [esp + 0x848]
mov dword [esp + 0x379c], 0xffffffff
call fcn.00447520
mov ecx, dword [esp + 0x3794]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x378c]
call fcn.0044c64f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4