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

Disassembly:
mov al, byte [0x6298d2]
sub esp, 0x258
push ebx
push ebp
xor ebx, ebx
push esi
test al, al
push edi
je 0x5ee00e
mov al, byte [0x6298b0]
test al, al
je 0x5ee00e
cmp dword [0x628ad0], ebx
je 0x5ee00e
mov al, byte [esp + 0x26c]
test al, al
mov al, byte [esp + 0x270]
jne 0x5ed72c
test al, al
je 0x5ee00e
cmp dword [0x6289b0], 2
jne 0x5ed73f
test al, al
je 0x5ee00e
jmp 0x5ed743
test al, al
je 0x5ed751
mov al, byte [0x6298d8]
push eax
call fcn.005ef8c0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [0x6298cc]
mov edx, dword [0x6298c8]
mov ecx, eax
sub ecx, esi
cmp ecx, edx
jbe 0x5ed780
mov dword [0x6298cc], eax
mov al, byte [0x6298d0]
test al, al
sete dl
mov byte [0x6298d0], dl
mov eax, dword [0x628ad0]
mov dword [esp + 0x1c], ebx
push eax
call dword [0x62988c]
mov ecx, dword [0x628ad4]
push ecx
call dword [0x628d58]
mov edi, 0x628d60
or ecx, 0xffffffff
xor eax, eax
mov esi, dword [0x628ac8]
repne scasb al, byte es:[edi]
mov edi, dword [0x628acc]
lea edx, [esp + 0x3c]
not ecx
dec ecx
lea eax, [esp + 0x48]
push edx
mov ebp, ecx
push eax
push 0x609694
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], 0x628b50
mov dword [esp + 0x50], ebx
call dword [0x628b10]
mov eax, dword [0x6289b0]
add esp, 0x14
cmp eax, 3
jne 0x5ed845
mov eax, dword [0x6298b4]
cmp eax, ebx
je 0x5ed845
mov cl, byte [0x628d60]
test cl, cl
je 0x5ed845
push eax
lea ecx, [esp + 0x6c]
push 0x628d60
push ecx
mov byte [esp + 0x74], 0
call fcn.004032e0
mov edx, dword [0x6298b4]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + edx + 0x78], 0
lea edx, [esp + 0x78]
push ecx
push edx
call dword [0x628b10]
mov eax, dword [esp + 0x54]
add esp, 0x18
sub esi, eax
mov eax, dword [0x6298c4]
mov byte [esp + 0x13], 0
cmp eax, 0x3b5
jne 0x5ed863
mov al, byte [0x6298d0]
test al, al
je 0x5eda44
cmp ebp, ebx
mov dword [esp + 0x1c], ebx
jle 0x5eda44
mov al, byte [ebx + 0x628d60]
xor edx, edx
mov ecx, eax
xor ebp, ebp
and ecx, 0xff
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], 0
mov byte [esp + 0x39], 0
cmp byte [ecx + 0x628e64], dl
setne dl
inc edx
mov ecx, edx
cmp ecx, 2
mov dword [esp + 0x20], ecx
jne 0x5ed8b2
mov al, byte [ebx + 0x628d61]
test al, al
je 0x5ed8b2
mov byte [esp + 0x39], al
lea eax, [esp + 0x34]
lea ecx, [esp + 0x3c]
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call dword [0x628b10]
xor eax, eax
add esp, 0xc
mov al, byte [ebx + 0x6289c4]
cmp eax, 4
ja case.default.0x5ed8d7
jmp dword [eax*4 + 0x5ee01c]
mov ebp, dword [0x628af0]
jmp case.default.0x5ed8d7
mov ebp, dword [0x628af4]
mov byte [esp + 0x13], 1
jmp case.default.0x5ed8d7
mov ebp, dword [0x628af8]
jmp case.default.0x5ed8d7
mov ebp, dword [0x628afc]
jmp case.default.0x5ed8d7
mov ebp, dword [0x628b00]
mov eax, dword [0x6289b0]
cmp eax, 3
jne 0x5ed959
mov al, byte [esp + 0x26c]
test al, al
je 0x5eda0b
cmp esi, dword [0x628adc]
jl 0x5eda0b
cmp esi, dword [0x628ae4]
jg 0x5eda0b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
add eax, edi
push ebp
add ecx, esi
push eax
push ecx
push edi
push esi
call dword [0x628d50]
add esp, 0x14
jmp 0x5eda0b
cmp eax, 2
jne 0x5eda0b
mov eax, dword [esp + 0x14]
mov edx, eax
sub edx, 0x628b50
cmp edx, 0x1fa
mov edx, dword [esp + 0x3c]
setb bl
lea ecx, [edx + esi]
cmp ecx, dword [0x628ae4]
mov ecx, dword [esp + 0x34]
jl 0x5ed9af
mov esi, dword [0x628adc]
add edi, ecx
test bl, bl
je 0x5ed9af
cmp eax, 0x628b50
je 0x5ed9a3
cmp byte [eax - 1], 0
jne 0x5ed9a7
mov byte [eax], 0x20
inc eax
mov byte [eax], 0
inc eax
mov dword [esp + 0x14], eax
add ecx, edi
push ebp
add edx, esi
push ecx
push edx
push edi
push esi
call dword [0x628d50]
mov ecx, dword [esp + 0x30]
add esp, 0x14
test bl, bl
je 0x5ed9f0
mov eax, dword [esp + 0x14]
mov dl, byte [ecx + 0x628d60]
mov byte [eax], dl
mov edx, dword [esp + 0x20]
inc eax
cmp edx, 2
mov dword [esp + 0x14], eax
jne 0x5ed9f0
mov dl, byte [ecx + 0x628d61]
mov byte [eax], dl
inc eax
mov dword [esp + 0x14], eax
cmp ecx, dword [0x6298b4]
jne 0x5eda07
mov eax, dword [esp + 0x34]
push eax
push edi
push esi
call fcn.005ee030
add esp, 0xc
mov ebx, dword [esp + 0x1c]
mov al, byte [esp + 0x13]
test al, al
je 0x5eda28
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x5eda28
mov byte [esp + 0x13], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
add ebx, ecx
add esi, edx
cmp ebx, eax
mov dword [esp + 0x1c], ebx
jl 0x5ed86f
cmp dword [0x6289b0], 2
jne 0x5edadd
mov eax, dword [esp + 0x18]
test eax, eax
je 0x5eda76
mov ecx, dword [0x6298b4]
mov eax, dword [esp + 0x1c]
cmp eax, ecx
jne 0x5eda76
mov edx, dword [esp + 0x34]
push edx
push edi
push esi
call fcn.005ee030
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ebx, dword [0x628acc]
mov esi, 0x628b50
mov byte [eax], 0
mov byte [eax + 1], 0
mov cl, byte [0x628b50]
mov eax, dword [0x628ac8]
test cl, cl
je 0x5edadd
mov ecx, esi
sub ecx, 0x628b50
cmp ecx, 0x200
jae 0x5edadd
push ebx
push eax
call dword [0x6289b8]
push esi
call dword [0x62986c]
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x34]
mov eax, dword [0x628adc]
not ecx
dec ecx
add ebx, edx
lea esi, [esi + ecx + 1]
cmp byte [esi], 0
jne 0x5eda9b
mov al, byte [esp + 0x270]
test al, al
je 0x5ee00e
mov eax, dword [0x629898]
xor edi, edi
cmp eax, edi
je 0x5ee00e
mov al, byte [0x628f6c]
test al, al
je 0x5ee00e
cmp dword [esp + 0x24], edi
jne 0x5edb21
mov edx, dword [0x628ac8]
mov eax, dword [0x628acc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
mov al, byte [0x61d634]
mov dword [esp + 0x2c], edi
test al, al
mov dword [esp + 0x28], edi
je 0x5edb3e
mov ecx, dword [str._d__s]
mov dword [esp + 0x20], ecx
jmp 0x5edb48
mov edx, dword [str._d_s]
mov dword [esp + 0x20], edx
mov al, byte [0x6298c0]
test al, al
je 0x5edb77
mov al, byte [0x6298c1]
test al, al
je 0x5edb77
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0x628b28
call dword [0x628b10]
add esp, 0xc
jmp 0x5edc03
mov ebp, dword [esp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, 0x628f6c
cmp esi, 0x62986c
jge 0x5edc03
mov al, byte [0x6298c0]
test al, al
jne 0x5edbbe
lea edx, [edi + 1]
push esi
push edx
lea eax, [esp + 0x70]
push ebp
push eax
call ebx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x7c]
push edx
push eax
call dword [0x628b10]
add esp, 0x1c
jmp 0x5edbd2
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push esi
call dword [0x628b10]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x5edbe2
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x5edbf2
mov dword [esp + 0x2c], eax
mov al, byte [esi + 0x100]
add esi, 0x100
inc edi
test al, al
jne 0x5edb86
lea eax, [esp + 0x40]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0x60ac3c
call dword [0x628b10]
lea edx, [esp + 0x4c]
lea eax, [esp + 0x44]
push edx
push eax
push 0x609694
call dword [0x628b10]
mov ecx, dword [esp + 0x50]
mov dl, byte [0x6298c0]
add esp, 0x18
inc ecx
shr ecx, 1
test dl, dl
mov dword [esp + 0x1c], ecx
je 0x5edc51
mov eax, dword [0x629898]
cmp eax, 9
mov esi, eax
jb 0x5edc56
mov esi, 9
mov al, byte [0x61d634]
mov dword [esp + 0x18], esi
test al, al
je 0x5edc7c
test dl, dl
je 0x5edc70
mov al, byte [0x6298c1]
test al, al
jne 0x5edc7c
mov ebx, esi
imul ebx, dword [esp + 0x2c]
add ebx, 2
jmp 0x5edc83
mov eax, dword [esp + 0x2c]
lea ebx, [eax + 2]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
lea edi, [ebx + eax]
add edi, ebp
mov ebp, dword [0x628d54]
cmp edi, ebp
jbe 0x5edca0
sub dword [esp + 0x30], ebx
jmp 0x5edca4
add dword [esp + 0x30], eax
test dl, dl
je 0x5edcbb
mov al, byte [0x6298c1]
test al, al
je 0x5edcbb
mov edx, dword [esp + 0x28]
lea eax, [edx + ecx*2 + 2]
jmp 0x5edcd9
mov al, byte [0x61d634]
test al, al
je 0x5edcce
mov eax, dword [esp + 0x28]
lea eax, [eax + ecx*2 + 2]
jmp 0x5edcd9
mov ecx, dword [esp + 0x28]
lea eax, [ecx + 1]
imul eax, esi
inc eax
mov edx, dword [esp + 0x24]
mov ecx, dword [0x628f64]
add edx, eax
mov dword [esp + 0x14], eax
cmp edx, ecx
jbe 0x5edcf3
sub ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov ebp, dword [esp + 0x30]
mov ecx, dword [0x61d610]
add ebx, ebp
lea edi, [eax + esi]
push ecx
push ebx
push edi
push ebp
push esi
call dword [0x628d50]
mov al, byte [0x61d634]
add esp, 0x14
inc esi
inc ebp
dec edi
dec ebx
test al, al
mov dword [esp + 0x24], esi
je 0x5edd90
mov al, byte [0x6298c0]
mov dword [esp + 0x18], edi
test al, al
jne 0x5edd7a
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [0x61d60c]
shr edx, 1
add edx, esi
push ecx
add edx, edi
push ebx
lea edi, [edx + eax - 1]
push edi
push ebp
push esi
call dword [0x628d50]
mov edx, dword [0x61d60c]
mov ecx, dword [esp + 0x2c]
push edx
push ebx
lea eax, [edi + 1]
push ecx
push ebp
push eax
call dword [0x628d50]
add esp, 0x28
jmp 0x5eddbe
mov edx, dword [0x61d60c]
push edx
push ebx
push edi
push ebp
push esi
call dword [0x628d50]
add esp, 0x14
jmp 0x5eddbe
mov edi, dword [esp + 0x18]
test edi, edi
jbe 0x5eddbe
mov eax, dword [esp + 0x28]
mov ecx, dword [0x61d60c]
lea edx, [esi + eax]
push ecx
push ebx
push edx
push ebp
push esi
call dword [0x628d50]
mov eax, dword [esp + 0x3c]
add esp, 0x14
dec edi
lea esi, [esi + eax + 1]
jne 0x5edd9c
mov al, byte [0x6298c0]
mov ebx, dword [esp + 0x24]
test al, al
je 0x5edf17
mov al, byte [0x6298c1]
test al, al
je 0x5edf17
mov ecx, dword [esp + 0x1c]
mov edx, dword [0x628b1c]
or eax, 0xffffffff
add ebx, ecx
test edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
jl 0x5edea7
mov edi, 0x628b28
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + edx + 0x48]
push ecx
call fcn.005f1c8f
mov byte [eax], 0
lea edx, [esp + 0x24]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
call dword [0x628b10]
mov edx, dword [0x628b1c]
mov cl, byte [esp + edx + 0x58]
lea eax, [esp + edx + 0x58]
lea edx, [esp + 0x30]
mov byte [esp + 0x23], cl
mov byte [eax], 0
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x5c]
push eax
push ecx
call dword [0x628b10]
mov edx, dword [0x628b1c]
mov al, byte [esp + 0x2f]
mov ecx, dword [0x61d610]
mov byte [esp + edx + 0x64], al
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
add edx, ebp
add eax, ebx
push edx
push eax
add ecx, ebx
push ebp
push ecx
call dword [0x628d50]
add esp, 0x30
push ebp
push ebx
call dword [0x6289b8]
mov edx, dword [0x628ad8]
push edx
call dword [0x628d58]
push 0x628b28
call dword [0x62986c]
mov eax, dword [esp + 0x24]
add esp, 0x10
test eax, eax
jl 0x5ee00e
add eax, ebx
push ebp
push eax
call dword [0x6289b8]
mov eax, dword [0x628ad8]
and eax, 0xffffff
not eax
sub eax, 0x1000000
push eax
call dword [0x628d58]
mov ecx, dword [0x628b1c]
lea edx, [esp + ecx + 0x54]
push edx
call dword [0x62986c]
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret
xor esi, esi
mov edi, 0x628f6c
cmp esi, dword [0x629898]
jae 0x5ee00e
mov eax, dword [0x629878]
cmp eax, esi
mov eax, dword [0x628ad8]
jne 0x5edf7a
and eax, 0xffffff
not eax
sub eax, 0x1000000
push eax
call dword [0x628d58]
mov eax, dword [esp + 0x30]
lea edx, [esi + 1]
mov ecx, dword [0x61d610]
imul edx, eax
imul eax, esi
push ecx
mov ecx, dword [esp + 0x1c]
add edx, ebp
add eax, ebp
push edx
lea edx, [ecx + ebx - 1]
push edx
push eax
push ebx
call dword [0x628d50]
add esp, 0x18
jmp 0x5edf84
push eax
call dword [0x628d58]
add esp, 4
cmp byte [edi], 0
je 0x5edffb
mov al, byte [0x61d634]
test al, al
je 0x5edfa5
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
imul ecx, esi
add ecx, ebp
add edx, ebx
push ecx
push edx
jmp 0x5edfbb
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
inc eax
mov edx, ebx
imul eax, esi
shr ecx, 1
add edx, eax
push ebp
add ecx, edx
push ecx
call dword [0x6289b8]
mov al, byte [0x6298c0]
add esp, 8
test al, al
push edi
jne 0x5edff2
mov ecx, dword [esp + 0x24]
lea eax, [esi + 1]
push eax
lea edx, [esp + 0x70]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x78]
push eax
call dword [0x62986c]
add esp, 0x14
jmp 0x5edffb
call dword [0x62986c]
add esp, 4
add edi, 0x100
inc esi
cmp edi, 0x62986c
jl 0x5edf1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x258
ret