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

Disassembly:
push 0xffffffffffffffff
push 0x449698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x48b448]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x9c], eax
xor ebp, ebp
mov dword [esp + 0x4c], vtable.CFont.0
mov dword [esp + 0xb0], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
cmp dword [esi + 0x18], ebp
jne 0x42190e
mov dword [esi + 0x18], 5
mov ecx, dword [esi + 0x5c]
mov eax, dword [esi + 0x64]
sub eax, ecx
mov dword [esp + 0x28], ecx
cdq
xor eax, edx
mov dword [esp + 0x30], ecx
sub eax, edx
mov dword [esp + 0x68], ebp
cdq
idiv dword [esi + 0x18]
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x2c], edx
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x28]
add eax, 2
mov dword [esp + 0x24], eax
mov eax, 0x44b708
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0xa0]
mov edi, dword [esp + 0xb8]
cmp eax, ebp
mov byte [esp + 0xb0], 7
jne 0x421a41
push 0x10
call fcn.0043c073
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebp
mov byte [esp + 0xb0], 8
je 0x421996
mov ecx, eax
call fcn.00440ed1
mov ebx, eax
jmp 0x421998
xor ebx, ebx
cmp edi, ebp
mov byte [esp + 0xb0], 7
mov dword [esi + 0xa0], ebx
jne 0x4219ae
xor eax, eax
jmp 0x4219b1
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00440f88
mov eax, dword [esi + 0x64]
mov ebp, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov ebx, dword [esi + 0x58]
sub eax, ebp
sub ecx, ebx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x68]
call fcn.004416cd
mov ecx, dword [esi + 0xa0]
mov ebp, dword [esp + 0x68]
lea eax, [esp + 0x64]
mov ecx, dword [ecx + 4]
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
call fcn.004410c9
mov edx, dword [esi + 0x5c]
mov eax, dword [esi + 0x64]
mov ebx, dword [esi + 0x58]
mov ecx, edx
sub eax, ecx
mov ecx, dword [esi + 0x60]
mov ebp, ebx
sub ecx, ebp
test edi, edi
jne 0x421a20
xor ebp, ebp
jmp 0x421a23
mov ebp, dword [edi + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
mov eax, dword [esi + 0xa0]
xor ebp, ebp
push ecx
mov edx, dword [eax + 4]
push ebp
push ebp
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0xa4], ebp
jne 0x421b1d
push 0x10
call fcn.0043c073
add esp, 4
mov dword [esp + 0x48], eax
cmp eax, ebp
mov byte [esp + 0xb0], 9
je 0x421a72
mov ecx, eax
call fcn.00440ed1
mov ebx, eax
jmp 0x421a74
xor ebx, ebx
cmp edi, ebp
mov byte [esp + 0xb0], 7
mov dword [esi + 0xa4], ebx
jne 0x421a8a
xor eax, eax
jmp 0x421a8d
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, ebx
call fcn.00440f88
mov eax, dword [esi + 0x74]
mov ebp, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov ebx, dword [esi + 0x68]
sub eax, ebp
sub ecx, ebx
push eax
mov eax, dword [edi + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x60]
call fcn.004416cd
mov ecx, dword [esi + 0xa4]
mov ebp, dword [esp + 0x60]
lea eax, [esp + 0x5c]
mov ecx, dword [ecx + 4]
neg eax
sbb eax, eax
and eax, ebp
push eax
push ecx
call fcn.004410c9
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0x74]
mov ebx, dword [esi + 0x68]
mov ecx, edx
sub eax, ecx
mov ecx, dword [esi + 0x70]
mov ebp, ebx
sub ecx, ebp
test edi, edi
jne 0x421afc
xor ebp, ebp
jmp 0x421aff
mov ebp, dword [edi + 4]
push 0xcc0020
push edx
push ebx
push ebp
push eax
mov eax, dword [esi + 0xa4]
push ecx
push 0
mov edx, dword [eax + 4]
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x64]
mov ebx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x58]
mov ebp, dword [esi + 0xa0]
sub eax, ebx
sub ecx, edx
mov edx, ebx
mov ebx, dword [esi + 0x58]
test ebp, ebp
je 0x421b3f
mov ebp, dword [ebp + 4]
push 0xcc0020
push 0
push 0
push ebp
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x74]
mov ebp, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov ebx, dword [esi + 0x68]
mov edx, dword [esi + 0xa4]
sub eax, ebp
sub ecx, ebx
mov ebx, ebp
mov ebp, dword [esi + 0x68]
test edx, edx
je 0x421b79
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
push ecx
mov ecx, dword [edi + 4]
push ebx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x5c]
add eax, 0xa
push 1
mov ecx, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
call fcn.00441191
mov edx, dword [edi]
lea eax, [esi + 0x98]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov eax, dword [esi + 0x40]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi + 0x18]
mov eax, ecx
cdq
idiv ebx
mov ebp, eax
mov eax, ecx
cdq
idiv ebx
test edx, edx
je 0x421be6
inc ebp
test ecx, ecx
jne 0x421bf1
mov dword [esi + 0x14], 0xffffffff
mov eax, dword [0x48b448]
mov dword [esp + 0x44], eax
mov dword [esp + 0x54], eax
mov ecx, dword [esi + 0x14]
lea edx, [esp + 0x44]
inc ecx
mov byte [esp + 0xb0], 0xb
push ecx
push 0x4591bc
push edx
call fcn.0043a116
add esp, 0xc
lea eax, [esp + 0x54]
push ebp
push 0x4591bc
push eax
call fcn.0043a116
mov ecx, dword [esp + 0x50]
add esp, 0xc
push ecx
push str.CurPage
push 0x45926c
push 0
push 0
push 1
push 0x97
push 0x4a7870
call fcn.0043d682
mov edx, dword [esp + 0x74]
add esp, 0x20
push edx
push str.TotalPage
push 0x45926c
push 0
push 0
push 1
push 0x97
push 0x4a7870
call fcn.0043d682
mov eax, dword [esi + 0x18]
add esp, 0x20
xor ebp, ebp
test eax, eax
jle 0x42215d
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0xc]
add eax, ebp
cmp eax, ecx
jge 0x42215d
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x22]
lea ecx, [esp + 0x18]
push edx
call fcn.0043bd2c
mov eax, dword [esi + 0x20]
add eax, ebp
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x72]
lea ecx, [esp + 0x1c]
push edx
call fcn.0043bd2c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa0]
push 0x48f63c
mov ebx, dword [eax - 8]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
add eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], eax
add eax, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], eax
call fcn.0043bd2c
mov eax, dword [esi + 0x20]
add eax, ebp
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x18]
lea ecx, [esp + 0x10]
push edx
call fcn.0043bd2c
cmp ebx, dword [esi + 0x24]
jle 0x421f77
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub eax, edx
push 2
cdq
xor eax, edx
lea ecx, [esp + 0x14]
sub eax, edx
cdq
idiv ebx
mov ebx, eax
lea eax, [esp + 0x98]
push eax
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x94]
test eax, eax
sete byte [esp + 0x17]
call fcn.0043bba3
mov al, byte [esp + 0x17]
push 0
test al, al
je 0x421de0
push str.MenuFontKoreaSize
push str.SelectedMenu
mov ecx, 0x48f560
call fcn.00401ab0
push 0
push 0
push str.MenuFontKorea
lea ecx, [esp + 0xb0]
push str.SelectedMenu
push ecx
mov ecx, 0x48f560
mov dword [esp + 0x6c], eax
call fcn.00401980
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xc
call fcn.0043bcdc
mov byte [esp + 0xb0], 0xb
lea ecx, [esp + 0xa4]
jmp 0x421e39
push str.MenuFontSize
push str.SelectedMenu
mov ecx, 0x48f560
call fcn.00401ab0
push 0
push 0
push str.MenuFont
lea ecx, [esp + 0x98]
push str.SelectedMenu
push ecx
mov ecx, 0x48f560
mov dword [esp + 0x6c], eax
call fcn.00401980
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.0043bcdc
mov byte [esp + 0xb0], 0xb
lea ecx, [esp + 0x8c]
call fcn.0043bba3
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push edx
push 0
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
push eax
lea ecx, [esp + 0x50]
call fcn.004416cd
mov edx, dword [edi]
lea eax, [esp + 0x4c]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ecx, 2
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x24]
add edx, 2
add ecx, 2
mov dword [esp + 0x88], edx
mov edx, dword [edi]
add eax, 2
mov dword [esp + 0x7c], ecx
push 0x464646
mov ecx, edi
mov dword [esp + 0x88], eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
lea ebx, [esp + 0x7c]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi + 0x20]
add eax, ebp
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x18]
mov ecx, 0x4a7f80
push edx
call fcn.0041a990
test eax, eax
je 0x421f03
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
jmp 0x421f0e
mov eax, dword [esi + 0x38]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
lea ebx, [esp + 0x24]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
lea ecx, [esp + 0x4c]
call fcn.00441724
lea eax, [esp + 0x98]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x98]
test eax, eax
sete bl
call fcn.0043bba3
mov edx, dword [edi]
lea eax, [esi + 0x90]
test bl, bl
jne 0x4220aa
jmp 0x4220a4
lea eax, [esp + 0x90]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x90]
test eax, eax
sete bl
call fcn.0043bba3
mov edx, dword [edi]
lea eax, [esi + 0x80]
test bl, bl
jne 0x421fba
lea eax, [esi + 0x78]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
add ecx, 2
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x24]
add edx, 2
add ecx, 2
mov dword [esp + 0x88], edx
mov edx, dword [edi]
add eax, 2
mov dword [esp + 0x7c], ecx
push 0x464646
mov ecx, edi
mov dword [esp + 0x88], eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
lea ebx, [esp + 0x7c]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi + 0x20]
add eax, ebp
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x18]
mov ecx, 0x4a7f80
push edx
call fcn.0041a990
test eax, eax
je 0x422048
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
jmp 0x422053
mov eax, dword [esi + 0x38]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
lea ebx, [esp + 0x24]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
lea eax, [esp + 0x48]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00439d26
mov eax, dword [eax]
push 0x459c44
push eax
call fcn.0042c273
add esp, 8
lea ecx, [esp + 0x48]
test eax, eax
sete bl
call fcn.0043bba3
mov edx, dword [edi]
lea eax, [esi + 0x90]
test bl, bl
jne 0x4220aa
lea eax, [esi + 0x88]
push eax
mov ecx, edi
call dword [edx + 0x28]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
add ecx, 2
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x34]
add edx, 2
add ecx, 2
mov dword [esp + 0x78], edx
mov edx, dword [edi]
add eax, 2
mov dword [esp + 0x6c], ecx
push 0x464646
mov ecx, edi
mov dword [esp + 0x78], eax
call dword [edx + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
lea ebx, [esp + 0x6c]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi + 0x20]
add eax, ebp
lea ecx, [eax + eax*8]
lea edx, [eax + ecx*2]
mov ecx, dword [esi]
lea eax, [eax + edx*4]
lea edx, [ecx + eax*2 + 0x18]
mov ecx, 0x4a7f80
push edx
call fcn.0041a990
test eax, eax
je 0x42212f
mov ecx, dword [esi + 0x3c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
jmp 0x42213a
mov eax, dword [esi + 0x38]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x30]
mov eax, dword [esp + 0x1c]
mov edx, dword [edi]
lea ebx, [esp + 0x34]
push 0x24
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, edi
call dword [edx + 0x68]
mov eax, dword [esi + 0x18]
inc ebp
cmp ebp, eax
jl 0x421c8b
mov ecx, edi
call fcn.00440ff0
lea ecx, [esp + 0x54]
mov byte [esp + 0xb0], 0xa
call fcn.0043bba3
lea ecx, [esp + 0x44]
mov byte [esp + 0xb0], 7
call fcn.0043bba3
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xb0], 0xe
call fcn.00441724
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 0xf
call fcn.00441724
lea ecx, [esp + 0x10]
mov byte [esp + 0xb0], 4
call fcn.0043bba3
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb0], 3
call fcn.0043bba3
lea ecx, [esp + 0x18]
mov byte [esp + 0xb0], 2
call fcn.0043bba3
lea ecx, [esp + 0x20]
mov byte [esp + 0xb0], 1
call fcn.0043bba3
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0xb0], 0x10
call fcn.00441724
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0043bba3
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret 4