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

Disassembly:
sub esp, 0x290
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x34]
test eax, eax
je 0x428299
mov al, byte [0x4eb858]
mov ebx, dword [esp + 0x2a4]
mov byte [esp + 0x17c], al
mov ecx, 0x48
xor eax, eax
lea edi, [esp + 0x17d]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
push 0x104
push ecx
push ebx
stosb byte es:[edi], al
call sub.comdlg32.dll_GetFileTitleA
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x42823c
mov edx, dword [ebp + 0x40]
push eax
push 0x99
lea eax, [esp + 0x184]
push edx
push eax
call fcn.0044c380
add esp, 0x10
mov edx, dword [ebp + 0x40]
lea ecx, [esp + 0x78]
push ecx
push 0x9a
lea eax, [esp + 0x184]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + eax + 0x188]
push ecx
call fcn.0044c380
mov eax, dword [ebp + 0x38]
add esp, 0x10
lea edx, [esp + 0x17c]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp + 0x34]
push 0
push 0
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp + 0x38]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x4282a0
mov ebx, dword [esp + 0x2a4]
mov eax, dword [ebp + 0x30]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push 1
push 0
push 0
lea ecx, [esp + 0x68]
push eax
push ecx
call esi
test eax, eax
je 0x428304
mov edi, dword [sym.imp.USER32.dll_IsDialogMessageA]
mov ebx, dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [ebp + 0x30]
lea edx, [esp + 0x5c]
push edx
push eax
call edi
test eax, eax
jne 0x4282e8
lea ecx, [esp + 0x5c]
push ecx
call ebx
lea edx, [esp + 0x5c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov eax, dword [ebp + 0x30]
push 1
push 0
push 0
lea ecx, [esp + 0x68]
push eax
push ecx
call esi
test eax, eax
jne 0x4282c7
mov ebx, dword [esp + 0x2a4]
mov eax, dword [ebp + 0x9c]
test eax, eax
je 0x42831d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x290
ret 4
mov eax, dword [ebp + 0x98]
test eax, eax
je 0x4283b2
push 8
call fcn.004be967
mov esi, eax
add esp, 4
test esi, esi
je 0x428349
push ebx
call fcn.0044a200
add esp, 4
mov dword [esi + 4], eax
jmp 0x42834b
xor esi, esi
mov edi, dword [ebp + 0x98]
test esi, esi
je 0x428388
mov edx, dword [edi + 8]
mov ecx, esi
push edx
call fcn.004270d0
mov ecx, dword [edi + 4]
mov edi, dword [ecx + eax*4]
test edi, edi
je 0x428388
mov edx, dword [esi + 4]
mov eax, dword [edi + 4]
push edx
push eax
call fcn.004cab10
add esp, 8
test eax, eax
je 0x428460
mov edi, dword [edi]
test edi, edi
jne 0x42836a
mov edi, dword [ebp + 0x98]
test esi, esi
je 0x4283b2
mov ecx, dword [edi + 8]
push ecx
mov ecx, esi
call fcn.004270d0
mov edx, dword [edi + 4]
mov ecx, dword [edx + eax*4]
mov dword [esi], ecx
mov edx, dword [edi + 4]
mov dword [edx + eax*4], esi
mov eax, dword [edi + 0xc]
inc eax
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], 0
call fcn.00424d70
mov esi, 1
lea ecx, [esp + 0x20]
push esi
push 0
push ebx
mov dword [esp + 0x3c], esi
call fcn.00424f70
mov eax, dword [esp + 0x28]
cmp eax, 2
jl 0x4283f7
push 0x403c40
push 4
push eax
mov eax, dword [esp + 0x30]
push eax
call fcn.004beb2c
add esp, 0x10
push str.descript.ion
lea ecx, [esp + 0x7c]
push ebx
push ecx
call fcn.0044a2d0
add esp, 0xc
lea ecx, [esp + 0x40]
push 0x1388
call fcn.00422a80
mov edx, dword [0x4eb330]
lea eax, [esp + 0x78]
push edx
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0x4cc7c0
mov dword [esp + 0x58], esi
call fcn.00423340
mov edi, dword [esp + 0x28]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x18], ebx
jle 0x4285af
cmp ebx, edi
mov dword [esp + 0x14], ebx
jge 0x428480
test ebx, ebx
jl 0x428480
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + ebx*4]
jmp 0x428482
test edi, edi
je 0x428388
push esi
call fcn.004be975
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret 4
xor esi, esi
test byte [esi + 0x48], 2
je 0x428495
mov eax, dword [0x4eb210]
test eax, eax
je 0x428597
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x42855c
mov edi, dword [esp + 0x2a4]
lea edx, [esp + 0x40]
push edx
push esi
push edi
mov ecx, ebp
call fcn.004286c0
test eax, eax
je 0x428558
mov eax, dword [esi + 0x68]
lea ecx, [esp + 0x78]
push eax
push edi
push ecx
call fcn.0044a2d0
lea edx, [esp + 0x84]
push edx
call fcn.0044a200
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
je 0x428554
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x1c]
lea edx, [ecx + 1]
cmp esi, edx
jne 0x428544
mov eax, dword [ebp + 0x28]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call fcn.004be967
mov edx, dword [ebp + 0x20]
mov esi, dword [ebp + 0x18]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
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 + 0x18]
push ecx
call fcn.004be975
mov edx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x20]
add esp, 8
add eax, edx
mov dword [ebp + 0x18], ebx
mov ebx, dword [esp + 0x18]
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp + 0x1c], eax
inc dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov esi, dword [ebp + 0x34]
test esi, esi
je 0x428597
mov eax, dword [esp + 0x14]
add eax, 0x64
cdq
idiv edi
mov ecx, eax
mov eax, dword [esp + 0x14]
cdq
idiv edi
cmp ecx, eax
jle 0x428597
push 0
push ecx
push 0x402
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
inc ebx
add ecx, 0x64
cmp ebx, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
jl 0x428453
mov eax, dword [esp + 0x50]
mov dword [esp + 0x40], 0x4cc7c4
test eax, eax
je 0x4285f0
mov eax, dword [esp + 0x48]
xor edi, edi
test eax, eax
jle 0x4285f0
mov edx, dword [esp + 0x44]
mov ecx, dword [edx + edi*4]
test ecx, ecx
je 0x4285e7
mov esi, dword [ecx + 4]
test ecx, ecx
je 0x4285e1
mov eax, dword [ecx]
push 1
call dword [eax]
test esi, esi
mov ecx, esi
jne 0x4285d4
mov eax, dword [esp + 0x48]
inc edi
cmp edi, eax
jl 0x4285c9
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004be975
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x42869f
mov eax, dword [esp + 0x28]
xor edi, edi
test eax, eax
jle 0x42869f
cmp edi, eax
jge 0x428627
test edi, edi
jl 0x428627
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + edi*4]
jmp 0x428629
xor ecx, ecx
test byte [ecx + 0x48], 2
je 0x428639
mov edx, dword [0x4eb210]
test edx, edx
je 0x428696
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x428696
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x42864e
mov edx, dword [ecx + 0x10]
test edx, edx
jne 0x428696
cmp dword [ecx + 8], 2
je 0x428696
mov edx, dword [esp + 0x2a4]
lea eax, [esp + 0x78]
push 1
push eax
push edx
call fcn.00424820
lea eax, [esp + 0x78]
push eax
call fcn.0044a200
add esp, 4
mov esi, eax
mov ecx, ebp
push esi
call fcn.004281d0
mov edx, dword [esp + 0x10]
push esi
add edx, eax
mov dword [esp + 0x14], edx
call fcn.004be975
mov eax, dword [esp + 0x2c]
add esp, 4
inc edi
cmp edi, eax
jl 0x42861a
lea ecx, [esp + 0x20]
call fcn.00424ec0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret 4