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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x334
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x330], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
push 0x3f
mov dword [esp + 0x48], eax
xor esi, esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x75]
push esi
push eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
mov byte [esp + 0x7c], 0
call fcn.004b3a80
add esp, 0xc
push 0x3f
lea ecx, [esp + 0xb5]
push esi
push ecx
mov byte [esp + 0xbc], 0
call fcn.004b3a80
add esp, 0xc
push 0xff
lea edx, [esp + 0x23d]
push esi
push edx
mov dword [esp + 0x48], esi
mov byte [esp + 0x244], 0
call fcn.004b3a80
add esp, 0xc
push 0xff
lea eax, [esp + 0x13d]
push esi
push eax
mov byte [esp + 0x144], 0
call fcn.004b3a80
add esp, 0xc
push 5
push ebx
call fcn.0042f0b0
push 0x42
push ebx
mov dword [esp + 0x30], eax
call fcn.0042f0b0
add esp, 0x10
cmp eax, esi
je 0x428819
cmp byte [eax], 0
je 0x428819
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x38], eax
jmp 0x428821
mov dword [esp + 0x38], 2
push 0x40
push ebx
call fcn.0042f0b0
add esp, 8
cmp eax, esi
je 0x428844
cmp byte [eax], 0
je 0x428844
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x42884c
mov dword [esp + 0x2c], 0xac44
push 0x41
push ebx
call fcn.0042f0b0
add esp, 8
cmp eax, esi
je 0x42886f
cmp byte [eax], 0
je 0x42886f
push eax
call fcn.004b31a7
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x428877
mov dword [esp + 0x18], 0x10
push 3
push ebx
call fcn.0042f0b0
add esp, 8
cmp eax, esi
jne 0x42888c
mov dword [esp + 0x1c], esi
jmp 0x4288be
mov edi, str.object.item.videoItem.videoBroadcast
mov esi, eax
mov ecx, 0x25
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4288b4
mov esi, eax
mov edi, str.object.item.audioItem.audioBroadcast
mov ecx, 0x25
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x1c], edx
jne 0x4288bc
mov dword [esp + 0x1c], 1
xor esi, esi
cmp dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], esi
je 0x428a5c
cmp dword [esp + 0x20], esi
jne 0x4288ed
push 1
push ebx
call fcn.0042f0b0
add esp, 8
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x428a5c
push 0x400
push 1
call fcn.00477460
add esp, 8
cmp eax, esi
mov dword [esp + 0xc], eax
je 0x428a5c
cmp dword [esp + 0x24], esi
je 0x428934
mov esi, dword [esp + 0x24]
mov edi, str.LPCM
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x428934
cmp dword [esp + 0x2c], 0xac44
jae 0x428934
mov dword [esp + 0x24], str.LPCM_low
mov eax, dword [0x60a1d4]
test eax, eax
je 0x428980
call eax
cmp eax, 1
jne 0x428980
cmp dword [ebp + 0x28], 0
je 0x428980
mov eax, dword [0x60a1dc]
test eax, eax
je 0x42895d
push ebx
call eax
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [0x60a1c8]
test eax, eax
je 0x428980
call eax
cmp eax, 1
jne 0x428980
mov eax, dword [0x60a1e0]
test eax, eax
je 0x428980
push ebx
call eax
add esp, 4
mov dword [esp + 0x40], eax
push 0xd4
push ebx
call fcn.0042f0b0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
push edx
mov edx, dword [ebp + 0x28]
push pe_nt_image_headers32
lea eax, [esp + 0x154]
push eax
mov eax, dword [ebp + 0x24]
push pe_nt_image_headers32
lea ecx, [esp + 0x25c]
push ecx
push edx
mov ecx, dword [ebp + 0x20]
push 1
push 0
push 1
push eax
mov eax, dword [esp + 0x50]
mov edx, dword [eax + 0x4934]
neg edx
sbb edx, edx
push ecx
mov ecx, dword [esp + 0x68]
not edx
and edx, dword [ebp + 0x1c]
push edx
mov edx, dword [esp + 0x88]
push ecx
push edx
mov edx, dword [esp + 0x70]
push eax
mov ecx, ebx
call fcn.00426e90
mov esi, dword [esp + 0x84]
add esp, 0x50
mov edi, str.audio_L16
mov ecx, 0xa
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
mov byte [esp + 0x70], 0
jne 0x428b0c
push 0x4c
push ebx
call fcn.0042f0b0
mov edi, dword [esp + 0x40]
add esp, 8
cmp edi, 1
mov dword [esp + 0x10], eax
je 0x428a34
cmp edi, 2
jne 0x428a4f
mov esi, dword [esp + 0x2c]
cmp esi, 0xac44
je 0x428a48
cmp esi, 0xbb80
jne 0x428a4f
cmp dword [esp + 0x18], 0x10
je 0x428a73
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00477540
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x330]
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x86c]
push eax
call fcn.00494030
add esp, 4
test eax, eax
je 0x428aa8
push str.audio_L16
push 0x5cd6b0
lea ecx, [esp + 0xb8]
push 0x40
push ecx
call fcn.004776e0
add esp, 0x10
jmp 0x428ac6
push edi
push esi
push str.audio_L16
push str._s_rate_d_channels_d
lea edx, [esp + 0xc0]
push 0x40
push edx
call fcn.004776e0
add esp, 0x18
push edi
push esi
push str._rate_d_channels_d
lea eax, [esp + 0x7c]
push 0x40
push eax
call fcn.004776e0
add esp, 0x14
cmp dword [esp + 0x10], 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0x34], ecx
je 0x428b0c
mov edx, dword [esp + 0x10]
push 0x5df06c
push edx
call fcn.004c633d
add esp, 8
test eax, eax
jne 0x428b0c
mov dword [esp + 0x3c], 1
mov eax, dword [esp + 0x48]
test eax, eax
je 0x428b55
cmp byte [eax], 0
je 0x428b55
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x78]
push ecx
lea edx, [esp + 0x144]
push edx
push eax
mov eax, dword [esp + 0x20]
add esi, 0x874
push esi
push str._s_s__s_s_O_s._s
push 0x400
push eax
call fcn.004776e0
add esp, 0x24
jmp 0x428b8e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
push ecx
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x144]
push ecx
add esi, 0x874
push esi
push str._sdisk__s_s_O_s._s
push 0x400
push edx
call fcn.004776e0
add esp, 0x20
mov eax, dword [esp + 0xc]
push str._external_
push eax
call fcn.004b3110
mov edi, eax
add esp, 8
test edi, edi
je 0x428c3c
push 0x40
lea ecx, [esp + 0xf5]
push 0
push ecx
mov byte [esp + 0xfc], 0
call fcn.004b3a80
xor eax, eax
lea edx, [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x49], eax
mov word [esp + 0x4d], ax
mov byte [esp + 0x4f], al
push edx
lea eax, [esp + 0xf4]
mov ecx, esi
mov byte [esp + 0x4c], 0
call fcn.00428620
add esp, 4
add edi, 0xa
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x428bf8
sub eax, edx
add eax, 1
push eax
mov eax, dword [esp + 0x10]
push edi
push eax
call fcn.004b4630
mov edi, dword [esp + 0x18]
add esp, 0xc
lea ebx, [esp + 0xf0]
mov eax, 0x5df0a4
call fcn.004286e0
lea ebx, [esp + 0x48]
mov eax, str._PORT
call fcn.004286e0
mov ebx, dword [esp + 0x30]
cmp dword [ebp + 0x24], 0
je 0x428c49
mov eax, 0x5fd09c
jmp 0x428c5a
cmp dword [esp + 0x1c], 0
mov eax, str.__BCLTZ__
jne 0x428c5a
mov eax, 0x5fd084
xor ecx, ecx
call fcn.00428240
mov esi, eax
xor edi, edi
cmp esi, edi
jne 0x428c8b
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x428c81
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x428c8b
xor esi, esi
jmp 0x428cf3
mov ebx, dword [esp + 0xc]
cmp byte [ebx], 0
push ebx
jne 0x428c9f
call fcn.00477540
add esp, 4
jmp 0x428cf3
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], edi
je 0x428cd0
mov eax, dword [esi + 0x4f0]
cmp eax, edi
je 0x428cd0
cmp dword [esi + 0xf4], edi
jne 0x428cca
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], edi
mov eax, 0x3c
cmp word [esi], ax
mov dword [esi + 0x4f0], ebx
mov dword [esi + 0xf4], edi
jle 0x428ce9
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x428cf3
mov word [esi + 2], ax
lea ecx, [esp + 0x238]
push ecx
call fcn.004774f0
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x428d97
cmp esi, edi
jne 0x428d33
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x428d29
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x428d33
xor esi, esi
jmp 0x428d97
cmp byte [ebx], 0
push ebx
jne 0x428d43
call fcn.00477540
add esp, 4
jmp 0x428d97
call fcn.00476620
add esp, 4
cmp dword [esi + 0x560], edi
je 0x428d74
mov eax, dword [esi + 0x560]
cmp eax, edi
je 0x428d74
cmp dword [esi + 0x164], edi
jne 0x428d6e
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x560], edi
mov eax, 0x58
cmp word [esi], ax
mov dword [esi + 0x560], ebx
mov dword [esi + 0x164], edi
jle 0x428d8d
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x428d97
mov word [esi + 2], ax
mov edx, dword [esp + 0x34]
push edx
call fcn.004774f0
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x428e8b
cmp esi, edi
jne 0x428dd7
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x428dca
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x428dd7
xor ebx, ebx
jmp 0x428e8d
cmp byte [ebx], 0
jne 0x428dea
push ebx
call fcn.00477540
add esp, 4
jmp 0x428e8b
push 0x4c
push esi
call fcn.0042f0b0
push eax
push edi
call fcn.0047d0e0
add esp, 0x10
cmp eax, edi
je 0x428e36
mov ecx, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x428e22
test dl, dl
je 0x428e1e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x428e22
add eax, 2
add ecx, 2
test dl, dl
jne 0x428e02
xor eax, eax
jmp 0x428e27
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x428e36
push ebx
call fcn.00477540
add esp, 4
jmp 0x428e8b
push ebx
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], edi
je 0x428e68
mov eax, dword [esi + 0x550]
cmp eax, edi
je 0x428e68
cmp dword [esi + 0x154], edi
jne 0x428e62
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], edi
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], ebx
mov dword [esi + 0x154], edi
jle 0x428e81
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x428e8b
mov word [esi + 2], ax
mov ebx, esi
cmp dword [esp + 0x3c], edi
mov dword [esp + 0x18], ebx
je 0x42900f
mov eax, dword [esp + 0x30]
push 0xcf
push eax
call fcn.0042f0b0
add esp, 8
cmp eax, edi
je 0x428ec3
cmp byte [eax], 0
je 0x428ec3
push eax
call fcn.004b31a7
add esp, 4
mov edi, eax
jmp 0x428ec8
mov edi, 0x2c
push 0x3d
push ebx
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42900f
xor ecx, ecx
push eax
mov byte [esp + 0x54], 0
mov dword [esp + 0x55], ecx
mov dword [esp + 0x59], ecx
mov dword [esp + 0x5d], ecx
mov dword [esp + 0x61], ecx
mov dword [esp + 0x65], ecx
mov dword [esp + 0x69], ecx
mov dword [esp + 0x6d], ecx
mov word [esp + 0x71], cx
mov byte [esp + 0x73], cl
call fcn.00475130
mov ecx, eax
add esp, 4
mov esi, edx
mov eax, edi
cdq
sub ecx, eax
sbb esi, edx
push esi
push ecx
push str._I64u
lea ecx, [esp + 0x5c]
push 0x20
push ecx
call fcn.004776e0
add esp, 0x14
push 0x3d
push ebx
call fcn.0042f000
lea edx, [esp + 0x58]
push edx
call fcn.004774f0
mov edi, eax
add esp, 0xc
test edi, edi
mov esi, ebx
je 0x42900f
test ebx, ebx
jne 0x428f78
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x428f6e
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x42900f
cmp byte [edi], 0
push edi
jne 0x428f8b
call fcn.00477540
add esp, 4
jmp 0x42900f
call fcn.00475130
add esp, 4
cmp edx, 1
jg 0x428fc8
jl 0x428f9e
test eax, eax
jae 0x428fc8
cmp dword [esi + 0x4f4], 0
je 0x428fb4
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
push 0
push edi
mov eax, 0x60
mov ecx, esi
call fcn.0042ee00
add esp, 8
jmp 0x42900f
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f4], 0
je 0x428fe7
push 0x3d
push esi
call fcn.0042f000
add esp, 8
mov esi, eax
cmp word [esi], 0x3d
mov dword [esi + 0x4f4], edi
mov dword [esi + 0xf8], 0
jle 0x429002
mov word [esi], 0x3d
cmp word [esi + 2], 0x3d
jge 0x42900f
mov word [esi + 2], 0x3d
cmp dword [ebp + 0x24], 0
jne 0x42904c
mov eax, dword [esp + 0x30]
push 0x50
push eax
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x42904c
cmp byte [eax], 0
je 0x42904c
push eax
call fcn.004b31a7
add esp, 4
test eax, eax
je 0x42904c
push 1
push 0x50
mov edi, ebx
call fcn.0042fd20
add esp, 8
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x33c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret