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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1e0
mov eax, dword [0x652130]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x532c]
push edi
test ecx, ecx
jne 0x429052
call fcn.00422660
push str.play_result.rom
push 0x66c0e4
lea ecx, [esp + 0xf4]
push str._s_s
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea edx, [esp + 0xfc]
push edx
call fcn.00401070
mov ebp, eax
call fcn.00401950
push 0
push 0x3ff00000
push 0
push 0
push 0
push 0
push 0
push ebp
mov esi, eax
push 0x258
push 0x190
push esi
mov dword [esp + 0x60], esi
call fcn.00401b10
add esp, 0x40
push 0
push esi
call fcn.00402840
push 0
push 0x20
push 0
push 0xb
push 0
push 0
call fcn.0040c360
call fcn.00401950
mov esi, eax
push 1
push ebp
mov dword [esp + 0x54], esi
call fcn.00401770
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push 0
push 0x3ff00000
push 0
push 0
push 0x64
push 0
push 1
push ebp
push ecx
push edx
push esi
call fcn.00401b10
add esp, 0x54
push 0
push 0
push 0
call fcn.0040aa40
push esi
call fcn.00402760
add esp, 0x10
cmp al, 1
jne 0x428c01
call fcn.004454f0
push esi
call fcn.00402760
add esp, 4
cmp al, 1
je 0x428bef
call fcn.00401950
mov esi, eax
push 3
push ebp
mov dword [esp + 0x38], esi
call fcn.00401770
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push 0
push 0x3ff00000
push 0
push 0
push 0x64
push 0
push 3
push ebp
push ecx
push edx
push esi
call fcn.00401b10
push 0
push 0
push 1
call fcn.0040aa40
add esp, 0x40
push esi
call fcn.00402760
add esp, 4
cmp al, 3
jne 0x428c61
call fcn.004454f0
push esi
call fcn.00402760
add esp, 4
cmp al, 3
je 0x428c4f
mov esi, 5
lea edi, [esp + 0x5c]
call fcn.00401950
mov ebx, eax
push esi
push ebp
mov dword [edi], ebx
call fcn.00401770
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push 0
push 0x3ff00000
push 0
push 0
push 0xc8
push 0
push esi
push ebp
push ecx
push edx
push ebx
call fcn.00401b10
push 8
push 0x100
push 0
push 1
push ebx
call fcn.00402a10
add esp, 0x48
add edi, 4
inc esi
lea eax, [esi - 5]
cmp eax, 3
jl 0x428c6a
xor eax, eax
mov edx, 0x65343c
lea ecx, [esp + 0x38]
mov esi, dword [edx]
mov dword [ecx - 4], eax
mov dword [ecx], esi
inc eax
add ecx, 8
add edx, 0x7d0
cmp eax, 4
jl 0x428cc7
mov esi, 1
lea ecx, [esp + 0x38]
cmp esi, 4
jge 0x428d27
mov edx, 4
lea eax, [ecx + 8]
sub edx, esi
mov edi, dword [ecx]
mov ebx, dword [eax]
cmp edi, ebx
jg 0x428d21
mov edi, dword [ecx - 4]
mov dword [esp + 0x54], edi
mov edi, dword [ecx]
mov dword [esp + 0x58], edi
mov edi, dword [eax - 4]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, dword [esp + 0x54]
mov dword [eax - 4], edi
mov edi, dword [esp + 0x58]
mov dword [eax], edi
add eax, 8
dec edx
jne 0x428cf5
inc esi
add ecx, 8
lea edx, [esi - 1]
cmp edx, 3
jl 0x428ce6
lea eax, [esp + 0x38]
xor edi, edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], 0xc8
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edi
jmp 0x428d57
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx - 4]
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*4]
lea esi, [eax + eax*4]
shl esi, 4
add esi, 0x653438
mov dword [esp + 0x24], esi
call fcn.00407b00
mov ebp, eax
mov al, byte [0x64d2f4]
test al, al
mov dword [esp + edi + 0x68], ebp
je 0x428e80
cmp byte [esi], 1
jne 0x428e3d
push 0x10
call fcn.004225a0
mov esi, eax
push 6
mov dword [esp + edi + 0x90], esi
mov byte [esi], 0
mov word [esi + 2], 0x12c
mov word [esi + 4], 0x1e
mov edx, dword [0x6349a8]
push edx
call fcn.00401880
mov dword [esi + 0xc], eax
movsx eax, word [esi + 4]
movsx ecx, word [esi + 2]
imul eax, ecx
push eax
call fcn.004225a0
mov edi, eax
xor eax, eax
mov dword [esi + 8], edi
movsx ecx, word [esi + 4]
movsx edx, word [esi + 2]
imul ecx, edx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
shl ebx, 6
add ebx, 0x64caa0
mov ecx, edx
push ebx
and ecx, 3
push 0
push 0
rep stosb byte es:[edi], al
push esi
call fcn.00437380
mov eax, dword [esp + 0x30]
push 0
push 0x3ff00000
push 0
push 0
push 0x9c4
push 1
push esi
push eax
push 0x35c
push ebp
call fcn.00408a50
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
add esp, 0x48
jmp 0x428ed0
mov ecx, dword [0x6349a8]
push 0
push 0x3ff00000
push 0
push 6
push ecx
call fcn.00401880
add esp, 8
xor edx, edx
mov dl, byte [esi + 0x5b8]
push eax
mov eax, dword [0x6349a8]
push 0x9c4
push 1
push edx
push 0xe
push eax
call fcn.004017d0
mov ecx, dword [esp + 0x34]
add esp, 0xc
push eax
push ecx
jmp 0x428ec2
mov edx, dword [0x6349a8]
push 0
push 0x3ff00000
push 0
push 6
push edx
call fcn.00401880
add esp, 8
mov ecx, dword [0x6349a8]
push eax
xor eax, eax
mov al, byte [esi + 0x5b8]
push 0x9c4
push 1
push eax
push 0xe
push ecx
call fcn.004017d0
mov edx, dword [esp + 0x34]
add esp, 0xc
push eax
push edx
push 0x35c
push ebp
call fcn.00408a50
add esp, 0x28
call fcn.00407b00
mov ebx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + edi + 0x78], ebx
mov eax, dword [eax]
test eax, eax
jge 0x428efc
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x98]
neg eax
push eax
push ecx
push str.__d____a_08d
push edx
jmp 0x428f0f
push eax
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0xa0]
push str.__d______08d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x6349a8]
add esp, 0x10
lea edx, [esp + 0x98]
push edx
push 0
push 0x3ff00000
push 0
push 0
push eax
call fcn.00401880
mov ecx, dword [esp + 0x28]
add esp, 8
push eax
push 0x9c4
push 0x6349dc
push ecx
push 0x320
push ebx
call fcn.00408c80
push 0
push 0
push 2
call fcn.0040aa40
add esp, 0x34
mov edi, 0xf
call fcn.004454a0
test eax, eax
je 0x428f8d
push 0
push 0xffffffffffffffd8
push ebp
call fcn.00408040
push 0
push 0xffffffffffffffd8
push ebx
call fcn.00408040
add esp, 0x18
call fcn.0040b710
dec edi
test edi, edi
jne 0x428f67
mov al, byte [esi + 0x1b]
test al, al
jne 0x428fb3
push 5
push 0xa
push 1
push ebp
call fcn.00408400
push 5
push 0xa
push 1
push ebx
call fcn.00408400
add esp, 0x20
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add ebx, 8
inc eax
mov dword [esp + 0x18], eax
add esi, 0x3c
add edx, 4
dec eax
cmp eax, 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x1c], edx
jl 0x428d53
call fcn.00423540
xor esi, esi
mov edx, dword [esp + esi + 0x68]
push edx
call fcn.00407cb0
mov eax, dword [esp + esi + 0x7c]
push eax
call fcn.00407cb0
add esi, 4
add esp, 8
cmp esi, 0x10
jl 0x428fee
lea esi, [esp + 0x5c]
mov edi, 3
mov ecx, dword [esi]
push ecx
call fcn.00401a90
add esp, 4
add esi, 4
dec edi
jne 0x429016
mov edx, dword [esp + 0x30]
push edx
call fcn.00401a90
mov eax, dword [esp + 0x30]
push eax
call fcn.00401a90
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00401a90
mov edx, dword [esp + 0x34]
push edx
call fcn.00422680
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret