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

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xb0]
xor eax, eax
push ebp
push edi
mov edi, dword [esp + 0xac]
mov ebp, 0x57a848
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4d1ba1
push 0x561f
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pContext_____void__0_
call fcn.00515569
add esp, 0xc
test ebx, ebx
jne 0x4d1bbc
push 0x5620
push str.C:PureBasicSvn_v6.10LibrariesSoundMiniAudiominiaudiominiaudio.h
push str.pData_____void__0_
call fcn.00515569
add esp, 0xc
mov eax, dword [esp + 0xb0]
cmp eax, 3
jne 0x4d1bd7
pop edi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x9c
ret
mov edx, dword [esp + 0xb4]
cmp eax, 4
jne 0x4d1bf8
cmp dword [ebx + 0x12c], 0
je 0x4d1bf8
mov dword [esp + 0x3c], 1
test edx, edx
je 0x4d1c00
mov dword [esp + 0x3c], 0
cmp dword [ebx + 0x120], 0
lea ecx, [ebx + 0x134]
push esi
mov dword [ecx], 0
mov eax, 0x40000
mov dword [ebx + 0x138], 0
mov dword [ebx + 0x13c], 0
jne 0x4d1c44
cmp dword [ebx + 8], 0
je 0x4d1c44
cmp dword [ebx + 0x118], 1
mov esi, 0x80040000
cmovne eax, esi
cmp dword [ebx + 0x124], 0
jne 0x4d1c5c
cmp dword [ebx + 8], 0
je 0x4d1c5c
test eax, eax
jns 0x4d1c5c
or eax, 0x8000000
mov esi, eax
or esi, 0x20000
cmp dword [esp + 0xb4], 4
cmovne esi, eax
lea eax, [esp + 0x24]
push eax
push ecx
push dword [ebx + 0x130]
mov dword [esp + 0x28], esi
push dword [ebx + 0x12c]
push edx
push dword [esp + 0xc8]
push edi
call fcn.004d1590
mov esi, eax
add esp, 0x1c
test esi, esi
jne 0x4d266c
lea esi, [ebx + 0x134]
xorps xmm0, xmm0
movups xmmword [esp + 0x44], xmm0
movups xmmword [esp + 0x54], xmm0
movq qword [esp + 0x64], xmm0
cmp dword [ebx + 0x128], eax
jne 0x4d1d33
mov eax, dword [esi]
lea edx, [esp + 0x34]
push edx
push 0x555eb0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4d1d33
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
push 0
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x3c]
call eax
test eax, eax
js 0x4d1d27
cmp dword [esp + 0x14], 0
je 0x4d1d27
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov eax, dword [esp + 0x34]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
cmp dword [ebx + 0x118], 1
jne 0x4d1e07
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
push edx
push 0
mov ecx, dword [eax]
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ebp, eax
test ebp, ebp
js 0x4d1deb
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x7c]
xorps xmm0, xmm0
movups xmmword [esp + 0x7c], xmm0
push edx
movq qword [esp + 0x90], xmm0
mov ecx, dword [eax]
push 0x555e7c
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ebp, eax
test ebp, ebp
js 0x4d1ddf
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov esi, dword [esp + 0x10]
push 0
push esi
mov ecx, dword [eax]
push 1
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ebp, eax
test ebp, ebp
js 0x4d1dd2
movups xmm0, xmmword [esi]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x64], xmm0
lea eax, [esp + 0x7c]
push eax
mov eax, dword [edi + 0x148]
call eax
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov esi, ebp
neg esi
sbb esi, esi
xor eax, eax
and esi, 0xffffff36
test ebp, ebp
sete al
mov dword [esp + 0x20], eax
jmp 0x4d1ec5
mov eax, dword [esi]
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x20]
call eax
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x4d1e60
cmp dword [esp + 0x40], 0
je 0x4d1e59
mov eax, 0x14
mov dword [esp + 0x44], 0x20003
mov dword [esp + 0x48], 0xac44
mov dword [esp + 0x50], 0x200008
mov dword [esp + 0x4c], 0x56220
mov word [esp + 0x54], ax
jmp 0x4d1eb2
mov esi, 0xffffff38
jmp 0x4d1eb4
mov eax, 0xfffe
cmp word [ebp], ax
jne 0x4d1e8a
movups xmm0, xmmword [ebp]
movups xmmword [esp + 0x44], xmm0
movups xmm0, xmmword [ebp + 0x10]
movups xmmword [esp + 0x54], xmm0
movq xmm0, qword [ebp + 0x20]
movq qword [esp + 0x64], xmm0
jmp 0x4d1eb2
movzx eax, word [ebp + 0x10]
test eax, eax
jne 0x4d1e99
mov eax, 0x14
jmp 0x4d1ea3
mov ecx, 0x28
cmp eax, ecx
cmova eax, ecx
push eax
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.004adb10
add esp, 0xc
xor esi, esi
mov eax, dword [edi + 0x144]
push ebp
call eax
mov dword [esp + 0x20], 0
test esi, esi
je 0x4d1ed3
mov ebp, str._WASAPI__Failed_to_find_best_device_mix_format.
jmp 0x4d266c
cmp dword [esp + 0x1c], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], eax
jge 0x4d1eff
mov eax, dword [ebx + 8]
mov ecx, 0xbb80
test eax, eax
cmovne ecx, eax
movzx eax, word [esp + 0x50]
imul eax, ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x44]
push eax
call fcn.004d0430
add esp, 4
mov dword [ebx + 0x140], eax
test eax, eax
jne 0x4d1f2e
mov eax, dword [esp + 0x20]
mov ebp, str._WASAPI__Native_format_not_supported.
xor eax, 1
lea esi, [eax*2 - 0xca]
jmp 0x4d266c
movzx ebp, word [esp + 0x46]
mov eax, 0xfffe
mov ecx, dword [esp + 0x48]
mov dword [ebx + 0x144], ebp
mov dword [ebx + 0x148], ecx
cmp word [esp + 0x44], ax
je 0x4d1fe5
cmp word [esp + 0x54], 0x28
jae 0x4d1fe5
lea eax, [ebx + 0x14c]
mov edi, 0xfe
test eax, eax
je 0x4d1f9d
test ebp, ebp
je 0x4d1f9d
xor esi, esi
test ebp, ebp
je 0x4d1f9d
test edi, edi
je 0x4d1fff
push esi
push ebp
push 0
call fcn.004dfbe0
mov byte [esi + ebx + 0x14c], al
add esp, 0xc
inc esi
dec edi
cmp esi, ebp
jb 0x4d1f78
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0xb0]
mov eax, dword [ebx + 0x114]
mov edx, 3
test eax, eax
cmovne edx, eax
mov eax, dword [ebx + 0x10c]
mov dword [esp + 0x10], edx
mov dword [ebx + 0x250], edx
mov dword [ebx + 0x24c], eax
test eax, eax
jne 0x4d201f
mov eax, dword [ebx + 0x110]
push ecx
test eax, eax
jne 0x4d2010
cmp dword [ebx + 0x11c], eax
jne 0x4d200c
push 0xa
jmp 0x4d2011
lea eax, [ebx + 0x14c]
push eax
push ebp
push dword [esp + 0x60]
call fcn.004d01a0
mov ecx, dword [esp + 0x54]
add esp, 0xc
jmp 0x4d1fa4
mov edi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x48]
jmp 0x4d1fa4
push 0x64
jmp 0x4d2011
push eax
call fcn.004c8f50
add esp, 8
mov dword [ebx + 0x24c], eax
mov ecx, 0x3e8
mov ebp, 0x3e8
mul ecx
push 0
mov ecx, eax
mov eax, edx
mul ebp
mov esi, eax
mov eax, ecx
mul ebp
mov ebp, dword [esp + 0x4c]
push ebp
add esi, edx
push esi
push eax
call fcn.0050c7a0
mov esi, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp eax, 1
jne 0x4d2227
mov eax, dword [esp + 0x10]
push edx
push esi
push 0
push eax
call fcn.0050c740
mov edi, eax
mov ebp, edx
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x44]
mov ecx, edi
mov esi, ebp
shld esi, ecx, 2
push 0
shl ecx, 2
add edi, ecx
mov ecx, dword [eax]
push edx
adc ebp, esi
shld ebp, edi, 1
push ebp
add edi, edi
push edi
push ebp
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, eax
cmp ecx, 0x88890020
jne 0x4d20fb
test ebp, ebp
jg 0x4d220b
jl 0x4d20c6
cmp edi, 0x4c4b40
ja 0x4d220b
mov eax, edi
or eax, ebp
je 0x4d20fb
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x44]
push 0
push edx
shld ebp, edi, 1
mov ecx, dword [eax]
push ebp
add edi, edi
push edi
push ebp
push edi
push dword [esp + 0x34]
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, eax
cmp ecx, 0x88890020
je 0x4d20b0
cmp ecx, 0x88890019
jne 0x4d21c4
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
js 0x4d21cc
mov eax, dword [esp + 0x48]
movsd xmm0, qword [0x555f88]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x556010]
mov eax, dword [esp + 0x10]
divsd xmm0, xmm1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x556010]
mulsd xmm0, xmm1
addsd xmm0, qword [0x5530b8]
call fcn.00515ee0
mov ecx, dword [ebx + 0x134]
mov edi, eax
push ecx
mov ebp, edx
mov esi, dword [ecx]
mov ecx, dword [esi + 8]
call ecx
mov ecx, dword [esp + 0x24]
lea esi, [ebx + 0x134]
push esi
push 0
push 0x17
mov eax, dword [ecx]
push 0x555ea0
push ecx
mov eax, dword [eax + 0xc]
call eax
mov ecx, eax
test ecx, ecx
js 0x4d21cc
mov eax, dword [esi]
lea edx, [esp + 0x44]
push 0
push edx
push ebp
mov ecx, dword [eax]
push edi
push ebp
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, eax
test ecx, ecx
jns 0x4d24fb
mov eax, ecx
cmp ecx, 0x80070005
jne 0x4d21ec
mov edi, dword [esp + 0xb0]
mov ebp, str._WASAPI__Failed_to_initialize_device_in_exclusive_mode._Access_denied.
mov esi, 0xfffffffa
jmp 0x4d266c
mov ecx, eax
cmp eax, 0x8889000a
jne 0x4d220b
mov edi, dword [esp + 0xb0]
mov ebp, str._WASAPI__Failed_to_initialize_device_in_exclusive_mode._Device_in_use.
mov esi, 0xffffffed
jmp 0x4d266c
push ecx
mov ebp, str._WASAPI__Failed_to_initialize_device_in_exclusive_mode.
call fcn.004ccb10
mov edi, dword [esp + 0xb4]
add esp, 4
mov esi, eax
jmp 0x4d266c
test eax, eax
jne 0x4d24ff
cmp dword [esp + 0x1c], eax
jge 0x4d223f
cmp dword [esp + 0x30], ebp
jne 0x4d244e
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x28]
mov dword [esp + 0x28], 0
push edx
push 0x555ec0
mov ecx, dword [eax]
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x4d244e
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x40]
push edx
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
lea edx, [esp + 0x3c]
push edx
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x48]
call eax
test eax, eax
js 0x4d2427
mov eax, dword [ebx + 0x24c]
lea esi, [edi + 0x38]
xor edx, edx
mov dword [esp + 0x6c], eax
div dword [esp + 0x38]
mov ebp, dword [esp + 0x10]
imul eax, dword [esp + 0x38]
cmp eax, ebp
cmovb ebp, eax
cmp dword [esp + 0x3c], ebp
cmova ebp, dword [esp + 0x3c]
push ebp
push str._WASAPI__Trying_IAudioClient3_InitializeSharedAudioStream_actualPeriodInFrames_d__n
push 4
test edi, edi
jne 0x4d2309
push edi
call fcn.004bea90
push dword [esp + 0x40]
push str.____defaultPeriodInFrames_d_n
push 4
push edi
call fcn.004bea90
push dword [esp + 0x58]
push str.____fundamentalPeriodInFrames_d_n
push 4
push edi
call fcn.004bea90
push dword [esp + 0x6c]
push str.____minPeriodInFrames_d_n
push 4
push edi
call fcn.004bea90
add esp, 0x40
xor eax, eax
jmp 0x4d234b
push dword [esi]
call fcn.004bea90
push dword [esp + 0x40]
push str.____defaultPeriodInFrames_d_n
push 4
push dword [esi]
call fcn.004bea90
push dword [esp + 0x58]
push str.____fundamentalPeriodInFrames_d_n
push 4
push dword [esi]
call fcn.004bea90
push dword [esp + 0x6c]
push str.____minPeriodInFrames_d_n
push 4
push dword [esi]
call fcn.004bea90
mov eax, dword [esi]
add esp, 0x40
push dword [esp + 0x10]
push str.____maxPeriodInFrames_d_n
push 4
push eax
call fcn.004bea90
add esp, 0x10
cmp ebp, dword [esp + 0x6c]
jb 0x4d23eb
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x44]
push 0
push eax
mov eax, dword [esp + 0x24]
mov edx, dword [ecx]
and eax, 0x77ffffff
push ebp
push eax
push ecx
mov eax, dword [edx + 0x50]
call eax
test eax, eax
js 0x4d23d5
mov dword [esp + 0x2c], 1
mov dword [ebx + 0x24c], ebp
push str._WASAPI__Using_IAudioClient3_n
push 4
test edi, edi
jne 0x4d23b1
push edi
call fcn.004bea90
add esp, 0xc
xor eax, eax
jmp 0x4d23bd
push dword [esi]
call fcn.004bea90
mov eax, dword [esi]
add esp, 0xc
push dword [ebx + 0x24c]
push str.____periodSizeInFramesOut_d_n
push 4
push eax
call fcn.004bea90
add esp, 0x10
jmp 0x4d2405
test edi, edi
jne 0x4d23e2
xor eax, eax
push str._WASAPI__IAudioClient3_InitializeSharedAudioStream_failed._Falling_back_to_IAudioClient._n
jmp 0x4d23fa
mov eax, dword [esi]
push str._WASAPI__IAudioClient3_InitializeSharedAudioStream_failed._Falling_back_to_IAudioClient._n
jmp 0x4d23fa
test edi, edi
jne 0x4d23f3
xor eax, eax
jmp 0x4d23f5
mov eax, dword [esi]
push str._WASAPI__Not_using_IAudioClient3_because_the_desired_period_size_is_larger_than_the_maximum_supported_by_IAudioClient3._n
push 4
push eax
call fcn.004bea90
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
push eax
mov dword [esp + 0x30], ebp
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
test ebp, ebp
jne 0x4d2587
mov esi, dword [esp + 0x14]
jmp 0x4d244e
test edi, edi
jne 0x4d242f
xor eax, eax
jmp 0x4d2432
mov eax, dword [edi + 0x38]
push str._WASAPI__IAudioClient3_GetSharedModeEnginePeriod_failed._Falling_back_to_IAudioClient._n
push 4
push eax
call fcn.004bea90
mov eax, dword [esp + 0x34]
add esp, 0xc
push eax
mov eax, dword [eax]
mov eax, dword [eax + 8]
call eax
mov ebp, dword [esp + 0x18]
push ebp
push esi
push 0
push dword [ebx + 0x250]
call fcn.0050c740
mov edi, eax
mov esi, edx
mov eax, dword [ebx + 0x134]
mov ecx, edi
shld esi, ecx, 2
push 0
shl ecx, 2
add edi, ecx
mov ecx, dword [eax]
adc edx, esi
lea esi, [esp + 0x48]
push esi
push 0
push 0
shld edx, edi, 1
push edx
add edi, edi
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jns 0x4d24f5
cmp eax, 0x80070005
jne 0x4d24bc
mov edi, dword [esp + 0xb0]
mov ebp, str._WASAPI__Failed_to_initialize_device._Access_denied.
mov esi, 0xfffffffa
jmp 0x4d266c
cmp eax, 0x8889000a
jne 0x4d24d9
mov edi, dword [esp + 0xb0]
mov ebp, str._WASAPI__Failed_to_initialize_device._Device_in_use.
mov esi, 0xffffffed
jmp 0x4d266c
push eax
mov ebp, str._WASAPI__Failed_to_initialize_device.
call fcn.004ccb10
mov edi, dword [esp + 0xb4]
add esp, 4
mov esi, eax
jmp 0x4d266c
mov esi, dword [esp + 0x14]
jmp 0x4d2503
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebx + 0x134]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jns 0x4d253e
push eax
mov ebp, str._WASAPI__Failed_to_get_audio_clients_actual_buffer_size.
call fcn.004ccb10
mov edi, dword [esp + 0xb4]
add esp, 4
mov esi, eax
jmp 0x4d266c
cmp dword [esp + 0x40], 0
je 0x4d256a
mov eax, dword [ebx + 0x148]
mul dword [ebx + 0x250]
push ebp
push esi
push edx
push eax
call fcn.0050c740
push 0
push 0xf4240
push edx
push eax
call fcn.00515dc0
jmp 0x4d256e
mov eax, dword [esp + 0x10]
xor edx, edx
mov edi, dword [esp + 0xb0]
div dword [ebx + 0x250]
mov ebp, dword [esp + 0x2c]
mov dword [ebx + 0x24c], eax
mov ecx, dword [esp + 0xb4]
xor eax, eax
cmp ecx, 1
mov dword [ebx + 0x254], ebp
setne al
lea eax, [eax*4 + 0x138]
add eax, ebx
push eax
mov eax, dword [ebx + 0x134]
push eax
push ecx
push edi
call fcn.004d0a00
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4d25c7
mov ebp, str._WASAPI__Failed_to_get_audio_client_service.
jmp 0x4d266c
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push edx
push 0
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x4d2651
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x94]
xorps xmm0, xmm0
movups xmmword [esp + 0x94], xmm0
push edx
movq qword [esp + 0xa8], xmm0
mov ecx, dword [eax]
push 0x555e68
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
js 0x4d2645
push 0
push 0
push 0x100
lea eax, [ebx + 0x258]
push eax
push 0xffffffffffffffff
push dword [esp + 0xb0]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x94]
push eax
mov eax, dword [edi + 0x148]
call eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
lea eax, [ebx + 0x358]
push eax
push dword [esp + 0x28]
push edi
call fcn.004d1010
add esp, 0xc
mov ebp, 0x57a848
xor esi, esi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d267c
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
test esi, esi
je 0x4d2707
mov ecx, dword [ebx + 0x138]
test ecx, ecx
je 0x4d26a0
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov dword [ebx + 0x138], 0
mov ecx, dword [ebx + 0x13c]
test ecx, ecx
je 0x4d26bc
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov dword [ebx + 0x13c], 0
mov ecx, dword [ebx + 0x134]
test ecx, ecx
je 0x4d26d8
mov eax, dword [ecx]
push ecx
mov eax, dword [eax + 8]
call eax
mov dword [ebx + 0x134], 0
cmp byte [ebp], 0
je 0x4d26fa
test edi, edi
jne 0x4d26e6
xor eax, eax
jmp 0x4d26e9
mov eax, dword [edi + 0x38]
push ebp
push 0x57da14
push 1
push eax
call fcn.004bea90
add esp, 0x10
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x9c
ret
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9c
ret