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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x451a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x3784
call fcn.0044ca10
mov eax, dword [0x473388]
push ebx
push esi
mov dword [esp + 0x3788], eax
mov esi, ecx
mov ecx, dword [0x47a344]
xor eax, eax
mov ax, word [esi + 0x1a4]
push edi
push eax
call fcn.004429e0
xor ebx, ebx
cmp eax, ebx
je 0x449ab1
add eax, 0xbe
mov dword [esi + 0x1ac], 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 + 0x1ac]
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.00443d80
test al, al
je 0x449ab1
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.004445c0
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 + 0x1b0], al
jne 0x4495e0
lea edx, [esp + 0x28]
push edx
push str.Point_MatchShow
push str.Position
lea eax, [esi + 0x1b4]
push eax
lea ecx, [esp + 0x858]
call fcn.004435e0
lea ecx, [esp + 0x28]
push ecx
push str.Point_MatchText
push str.Position
lea edx, [esi + 0x1bc]
push edx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea eax, [esp + 0x28]
push eax
push str.Point_MatchJoin
push str.Position
lea ecx, [esi + 0x254]
push ecx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea edx, [esp + 0x28]
push edx
push str.Point_MatchDetails
push str.Position
lea eax, [esi + 0x25c]
push eax
lea ecx, [esp + 0x858]
call fcn.004435e0
lea ecx, [esp + 0x28]
push ecx
push str.Point_Number1
push str.Position
lea edx, [esi + 0x244]
push edx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea eax, [esp + 0x28]
push eax
push str.Point_Number2
push str.Position
lea ecx, [esi + 0x24c]
push ecx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchMode
push str.Position
lea eax, [esi + 0x1c4]
push eax
lea ecx, [esp + 0x858]
call fcn.00443500
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MatchFee
push str.Position
lea edx, [esi + 0x1e4]
push edx
lea ecx, [esp + 0x858]
call fcn.00443500
lea eax, [esp + 0x28]
push eax
push str.Rect_StartCount
push str.Position
lea ecx, [esi + 0x214]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443500
lea edx, [esp + 0x28]
push edx
push str.Rect_PlayCount
push str.Position
lea eax, [esi + 0x224]
push eax
lea ecx, [esp + 0x858]
call fcn.00443500
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MinPlayCount
push str.Position
lea edx, [esi + 0x234]
push edx
lea ecx, [esp + 0x858]
call fcn.00443500
lea eax, [esp + 0x28]
push eax
push str.Rect_MatchEndTime
push str.Position
lea ecx, [esi + 0x204]
push ecx
lea ecx, [esp + 0x858]
call fcn.00443500
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchStartTime
push str.Position
lea eax, [esi + 0x1f4]
push eax
lea ecx, [esp + 0x858]
call fcn.00443500
lea ecx, [esp + 0x28]
push ecx
push str.Rect_MatchCondition
push str.Position
lea edx, [esi + 0x1d4]
push edx
lea ecx, [esp + 0x858]
call fcn.00443500
cmp byte [esi + 0x1b0], 1
jne 0x4498fd
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.004435e0
lea edx, [esp + 0x28]
push edx
push str.Point_MatchShow
push str.Position
lea eax, [esi + 0x1b4]
push eax
lea ecx, [esp + 0x858]
call fcn.004435e0
lea ecx, [esp + 0x28]
push ecx
push str.Point_MatchText
push str.Position
lea edx, [esi + 0x1bc]
push edx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea eax, [esp + 0x28]
push eax
push str.Point_MatchJoin
push str.Position
lea ecx, [esi + 0x254]
push ecx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea edx, [esp + 0x28]
push edx
push str.Point_MatchDetails
push str.Position
lea eax, [esi + 0x25c]
push eax
lea ecx, [esp + 0x858]
call fcn.004435e0
lea ecx, [esp + 0x28]
push ecx
push str.Point_Number1
push str.Position
lea edx, [esi + 0x244]
push edx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea eax, [esp + 0x28]
push eax
push str.Point_Number2
push str.Position
lea ecx, [esi + 0x24c]
push ecx
lea ecx, [esp + 0x858]
call fcn.004435e0
lea edx, [esp + 0x28]
push edx
push str.Rect_MatchMode
push str.Position
lea edi, [esi + 0x1c4]
push edi
lea ecx, [esp + 0x858]
call fcn.00443500
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 + 0x1ac]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov al, byte [ecx + 0xa]
test al, al
jne 0x449825
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 + 0x1f4]
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 + 0x204]
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 + 0x1e4]
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 + 0x1d4]
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 + 0x234]
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 + 0x1ac]
cmp byte [eax + 0xa], 1
jne 0x4498fd
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 + 0x214]
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 + 0x1e4]
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 + 0x1d4]
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 + 0x224]
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 + 0x2a0]
push eax
mov ecx, edi
call fcn.00448af0
test eax, eax
jge 0x44996f
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 + 0x8f8]
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 + 0x4d8]
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 + 0x6e8]
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 + 0xb08]
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 + 0xd18]
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 + 0xf28]
call edi
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.004466c0
lea ecx, [esp + 0x848]
mov dword [esp + 0x379c], 0xffffffff
call fcn.004477c0
mov ecx, dword [esp + 0x3794]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x378c]
call fcn.0044c8ef
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4