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

Disassembly:
push 0xffffffffffffffff
push 0x5ce378
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x613ad0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov edi, dword [esp + 0x64]
mov eax, 0xa
xor ebx, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
je 0x425eaa
jle 0x425ee4
mov eax, dword [edi + 4]
mov esi, dword [eax]
push 1
push ebx
mov ecx, edi
call fcn.0058e891
push esi
call fcn.0057df27
mov eax, dword [edi + 8]
add esp, 4
cmp eax, ebx
jne 0x425e89
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 4]
mov esi, eax
push edx
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x1c], eax
call fcn.0057e772
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x425ee9
push 0x80004005
call fcn.00401a10
call fcn.0057e0f5
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 8]
xor edx, edx
cmp eax, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], edx
jne 0x425f27
mov dword [esp + 0x3c], 0x64
mov dword [esp + 0x40], 0x14
jmp 0x426459
mov esi, dword [esp + 0x58]
test byte [esi + 0x74], 1
je 0x426160
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], ebx
jle 0x426104
test ebx, ebx
jl 0x425ee4
cmp ebx, eax
jge 0x425ee4
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 4]
mov eax, dword [eax + ebx*4]
test byte [eax + 0xa0], 1
je 0x426011
mov edx, dword [esi + 0x7c]
imul edx, edx, 0x190
mov eax, 0x51eb851f
mul edx
shr edx, 5
add ecx, edx
add ebp, 0x10
push 0x10
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ecx
call fcn.0057def7
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x425fc8
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x425fca
xor ebp, ebp
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call fcn.00596164
mov edx, dword [esi + 0x78]
mov ecx, dword [esp + 0x2c]
imul edx, edx, 0x64
mov eax, 0x51eb851f
mul edx
mov ebp, ecx
shr edx, 5
add ecx, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x7c]
imul ecx, ecx, 0x64
mov eax, 0x51eb851f
mul ecx
mov ecx, edx
shr ecx, 5
add ecx, dword [esp + 0x28]
mov dword [esp + 0x24], ebp
jmp 0x4260e6
mov eax, dword [eax + 4]
push 0xc00
lea edx, [esp + 0x38]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x78]
imul ecx, ecx, 0xc8
mov eax, 0x51eb851f
mul ecx
shr edx, 5
sub edx, dword [esp + 0x34]
mov eax, 0x51eb851f
add edx, dword [esp + 0x24]
push 0x10
add edx, dword [esp + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x7c]
imul edx, edx, 0xc8
mul edx
shr edx, 5
sub edx, dword [esp + 0x3c]
add edx, dword [esp + 0x2c]
add edx, dword [esp + 0x44]
mov dword [esp + 0x34], edx
call fcn.0057def7
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x426090
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x426092
xor ebp, ebp
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call fcn.00596164
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
sub eax, ebx
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x24], ebp
jle 0x4260ba
mov dword [esp + 0x64], eax
mov ecx, dword [esi + 0x78]
imul ecx, ecx, 0x64
mov eax, 0x51eb851f
mul ecx
shr edx, 5
add dword [esp + 0x2c], edx
mov edx, dword [esi + 0x7c]
imul edx, edx, 0x64
mov eax, 0x51eb851f
mul edx
mov ecx, edx
shr ecx, 5
add ecx, ebx
mov ebx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
add ebx, 1
cmp ebx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x5c], ebx
jl 0x425f63
mov edx, dword [esp + 0x64]
mov ecx, dword [edi + 8]
xor eax, eax
test ecx, ecx
jle 0x426133
lea ecx, [ecx]
test eax, eax
jl 0x425ee4
cmp eax, ecx
jge 0x425ee4
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + 0xc], edx
mov ecx, dword [edi + 8]
add eax, 1
cmp eax, ecx
jl 0x426110
mov ecx, dword [edi + 8]
lea eax, [ecx - 1]
test eax, eax
jl 0x425ee4
cmp eax, ecx
jge 0x425ee4
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x54]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x426453
test eax, eax
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
jle 0x42620f
test ebx, ebx
jl 0x425ee4
cmp ebx, eax
jge 0x425ee4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + ebx*4]
test byte [eax + 0xa0], 1
jne 0x4261fd
mov eax, dword [eax + 4]
push 0xc20
lea edx, [esp + 0x38]
push edx
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x7c]
mov ebp, dword [esp + 0x38]
imul ecx, ecx, 0xc8
mov eax, 0x51eb851f
mul ecx
mov ecx, dword [esp + 0x28]
shr edx, 5
mov eax, edx
mov edx, dword [esp + 0x40]
sub eax, ebp
add eax, ecx
add eax, edx
mov dword [esp + 0x30], eax
sub eax, ecx
cmp dword [esp + 0x64], eax
jge 0x4261fd
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
add ebx, 1
cmp ebx, eax
jl 0x426188
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x30], edx
xor edx, edx
test eax, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], edx
jle 0x4263f5
jmp 0x426244
mov edx, dword [esp + 0x5c]
test edx, edx
jl 0x425ee4
cmp edx, eax
jge 0x425ee4
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
test byte [eax + 0xa0], 1
je 0x4262f2
mov edx, dword [esi + 0x78]
imul edx, edx, 0x190
mov eax, 0x51eb851f
mul edx
shr edx, 5
add ecx, edx
add ebp, 0xa
push 0x10
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ecx
call fcn.0057def7
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x4262a9
lea eax, [esp + 0x24]
push eax
push ebp
call dword [sym.imp.USER32.dll_CopyRect]
jmp 0x4262ab
xor ebp, ebp
mov eax, dword [edi + 8]
push ebp
push eax
mov ecx, edi
call fcn.00596164
mov ecx, dword [esi + 0x78]
imul ecx, ecx, 0x64
mov eax, 0x51eb851f
mul ecx
mov ebx, dword [esp + 0x30]
mov ecx, edx
mov edx, dword [esi + 0x7c]
imul edx, edx, 0x64
mov eax, 0x51eb851f
mul edx
shr ecx, 5
add ecx, dword [esp + 0x24]
mov ebp, ebx
shr edx, 5
add ebx, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebx
jmp 0x4263d7
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x14]
push 0xc00
lea ecx, [esp + 0x38]
push ecx
push 0xffffffffffffffff
push eax
push edx
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esi + 0x78]
imul ecx, ecx, 0xc8
mov eax, 0x51eb851f
mul ecx
shr edx, 5
sub edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add edx, dword [esp + 0x24]
mov eax, 0x51eb851f
add edx, dword [esp + 0x3c]
mov dword [esp + 0x2c], edx
mov edx, dword [esi + 0x7c]
imul edx, edx, 0xc8
mul edx
shr edx, 5
mov eax, edx
sub eax, dword [esp + 0x38]
add eax, ecx
add eax, dword [esp + 0x40]
mov dword [esp + 0x30], eax
sub eax, ecx
mov ecx, dword [esp + 0x64]
cmp ecx, eax
jle 0x426365
mov dword [esp + 0x30], ecx
push 0x10
call fcn.0057def7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x426385
lea eax, [esp + 0x24]
push eax
push ebx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, ebx
jmp 0x426387
xor ecx, ecx
mov eax, dword [edi + 8]
push ecx
push eax
mov ecx, edi
call fcn.00596164
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
sub eax, ebx
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x28], ebp
jle 0x4263af
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x78]
imul ecx, ecx, 0x64
mov eax, 0x51eb851f
mul ecx
mov ecx, edx
mov edx, dword [esi + 0x7c]
imul edx, edx, 0x64
mov eax, 0x51eb851f
mul edx
shr ecx, 5
shr edx, 5
add ecx, ebx
add dword [esp + 0x30], edx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 8]
add edx, 1
cmp edx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x5c], edx
jl 0x426240
mov ecx, dword [edi + 8]
xor eax, eax
test ecx, ecx
jle 0x426427
mov edi, edi
test eax, eax
jl 0x425ee4
cmp eax, ecx
jge 0x425ee4
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov ecx, dword [edi + 8]
add eax, 1
cmp eax, ecx
jl 0x426400
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
mov dword [edx], eax
mov ecx, dword [edi + 8]
lea eax, [ecx - 1]
test eax, eax
jl 0x425ee4
cmp eax, ecx
jge 0x425ee4
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0xc]
mov dword [edx + 4], eax
mov esi, dword [esp + 0x14]
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426495
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x14