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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x3c], edi
call fcn.0051f040
mov ecx, edi
mov esi, eax
call fcn.0051f050
test esi, esi
je 0x4ee251
test eax, eax
je 0x4ee251
mov edi, dword [esi + 0x78]
movzx esi, word [edi + 0xe]
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx]
mov eax, dword [eax + 0x78]
mov edx, dword [ecx + 0x2c]
shr esi, 3
push ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], esi
call edx
movzx ecx, word [edi + 2]
imul ecx, esi
cdq
idiv ecx
mov edx, dword [esp + 0x40]
mov ecx, eax
mov eax, dword [edx + 4]
imul eax, ecx
xor edx, edx
div dword [edi + 4]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x6c]
push edx
push ebx
mov dword [esp + 0x5c], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
call eax
test eax, eax
jl 0x4ed7aa
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x6e8]
add dword [esp + 0x68], eax
mov ecx, dword [ebx + 0x6ec]
lea edx, [esp + 0x70]
adc dword [esp + 0x6c], ecx
add dword [esp + 0x70], eax
mov eax, dword [ebp + 0xc]
push edx
adc dword [esp + 0x78], ecx
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
lea edi, [ebx + 0x710]
mov dword [edi], ecx
mov ecx, dword [esp + 0x74]
add ebx, 0x718
mov dword [edi + 4], edx
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp 0x4ed7c7
mov edi, dword [esp + 0x3c]
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
lea ebx, [edi + 0x718]
push ebx
add edi, 0x710
push edi
push eax
mov eax, dword [edx + 0x18]
call eax
mov eax, dword [esp + 0x30]
push 0
cdq
push 0x989680
push edx
push eax
call fcn.005bf960
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 4]
push 0
push ecx
push edx
push eax
call fcn.005bf9a0
add dword [edi], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], edx
adc dword [edi + 4], edx
add dword [ebx], eax
mov eax, dword [ebp + 8]
push eax
adc dword [ebx + 4], edx
mov edx, dword [eax]
mov eax, dword [edx + 0x3c]
call eax
test eax, eax
jne 0x4ed81c
fld qword [0x62dd98]
mov ecx, dword [esp + 0x3c]
fstp qword [ecx + 0x700]
mov ebx, dword [esp + 0x38]
movzx edi, word [ebx]
cmp di, 1
je 0x4ed84c
cmp di, 0xfffe
jne 0x4ed845
lea edx, [ebx + 0x18]
push 0x62c418
push edx
call fcn.00401260
add esp, 8
test eax, eax
jne 0x4ed84c
mov byte [esp + 0x2e], 0
jmp 0x4ed851
mov byte [esp + 0x2e], 1
cmp di, 3
je 0x4ed87a
cmp di, 0xfffe
jne 0x4ed873
push 0x62ddb0
add ebx, 0x18
push ebx
call fcn.00401260
add esp, 8
test eax, eax
jne 0x4ed87a
mov byte [esp + 0x2f], 0
jmp 0x4ed87f
mov byte [esp + 0x2f], 1
cmp byte [esp + 0x2e], 0
jne 0x4ed8a7
cmp byte [esp + 0x2f], 0
jne 0x4ed8a7
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x44]
call fcn.0051f060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 8]
mov edx, dword [ebx]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x54]
push eax
xor edi, edi
push ebx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x3c], edi
call ecx
cmp eax, edi
jl 0x4ee260
mov edi, dword [ebp + 0xc]
mov edx, dword [edi]
mov ecx, dword [edx + 0xc]
lea eax, [esp + 0x34]
push eax
push edi
call ecx
test eax, eax
jl 0x4ee260
cmp dword [esp + 0x54], 0
je 0x4ee243
cmp dword [esp + 0x34], 0
je 0x4ee243
cmp dword [esp + 0x30], 0
jle 0x4ee243
cmp dword [esp + 0x50], 0
jle 0x4ee243
mov edx, dword [edi]
mov eax, dword [edx + 0x10]
push edi
call eax
mov ecx, dword [esp + 0x34]
push eax
push 0
push ecx
call fcn.005c0060
mov edx, dword [esp + 0x48]
add esp, 0xc
cmp byte [edx + 0x1cc], 0
je 0x4edc13
mov eax, dword [esp + 0x38]
movzx ecx, word [eax + 2]
add ecx, 0xa
shl ecx, 4
xor ebx, ebx
cmp dword [ecx + edx], ebx
jbe 0x4edbd7
mov eax, dword [esp + 0x40]
cmp word [eax + 2], bx
mov dword [esp + 0x58], ebx
jbe 0x4edc24
mov dword [esp + 0x60], ebx
jmp 0x4ed970
mov ebx, dword [esp + 0x38]
movzx edx, word [ebx + 2]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x3c]
shl edx, 4
push ecx
lea ecx, [edx + eax + 0x9c]
call fcn.004ecfd0
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
movzx ebx, word [ebx + 2]
mov esi, dword [esp + 0x54]
lea edi, [eax + edx]
mov edx, dword [esp + 0x40]
movzx eax, word [edx + 2]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x44]
imul eax, ecx
imul ebx, ecx
cmp byte [esp + 0x2e], 0
mov dword [esp + 0x4c], eax
je 0x4edb0f
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 0xe]
cmp ax, 8
jne 0x4eda1f
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
lea esp, [esp]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
movzx ecx, word [eax + 2]
push edi
push esi
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
call fcn.004ecff0
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4ed9f0
jmp 0x4edbab
cmp ax, 0x10
jne 0x4eda6f
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
jmp 0x4eda40
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
movzx eax, word [edx + 2]
push edi
push esi
push ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.004ed0c0
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4eda40
jmp 0x4edbab
cmp ax, 0x18
jne 0x4edabf
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov edx, dword [esp + 0x30]
mov dword [esp + 0x64], edx
jmp 0x4eda90
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
movzx edx, word [ecx + 2]
push edi
push esi
push eax
mov eax, dword [esp + 0x54]
push edx
push eax
call fcn.004eccf0
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4eda90
jmp 0x4edbab
cmp ax, 0x20
jne 0x4edb0f
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
jmp 0x4edae0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
movzx ecx, word [eax + 2]
push edi
push esi
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
call fcn.004ed190
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4edae0
jmp 0x4edbab
cmp byte [esp + 0x2f], 0
je 0x4edbab
mov eax, dword [esp + 0x38]
movzx eax, word [eax + 0xe]
cmp ax, 0x20
jne 0x4edb6c
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
jmp 0x4edb40
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
movzx ecx, word [eax + 2]
push edi
push esi
push edx
mov edx, dword [esp + 0x54]
push ecx
push edx
call fcn.004ed260
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4edb40
jmp 0x4edbab
cmp ax, 0x40
jne 0x4edbab
cmp dword [esp + 0x30], 0
jle 0x4edbab
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
movzx eax, word [edx + 2]
push edi
push esi
push ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
call fcn.004ed3a0
add edi, dword [esp + 0x60]
add esp, 0x14
add esi, ebx
sub dword [esp + 0x64], 1
jne 0x4edb81
mov edx, dword [esp + 0x44]
add dword [esp + 0x60], edx
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x58]
movzx edx, word [ecx + 2]
add eax, 1
cmp eax, edx
mov dword [esp + 0x58], eax
jl 0x4ed970
mov esi, dword [esp + 0x44]
mov edi, dword [ebp + 0xc]
jmp 0x4edc24
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x60]
push ecx
push edi
mov dword [esp + 0x68], ebx
call edx
cmp eax, ebx
jl 0x4ee260
cmp dword [esp + 0x60], ebx
je 0x4ee260
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
push edi
call ecx
mov edx, dword [esp + 0x60]
push eax
push ebx
push edx
call fcn.005c0060
add esp, 0xc
jmp 0x4edc24
push edi
push ebx
mov ecx, edx
call fcn.0051f060
test eax, eax
jne 0x4ee260
mov ebx, dword [esp + 0x3c]
cmp byte [ebx + 0x6e0], 0
je 0x4edd87
mov ecx, dword [esp + 0x38]
mov eax, 0xac44
cmp dword [ecx + 4], eax
jbe 0x4edd87
mov edx, dword [esp + 0x40]
cmp dword [edx + 4], eax
jne 0x4edd87
cmp word [ecx + 0xe], 0x10
ja 0x4edd87
cmp byte [esp + 0x2e], 0
je 0x4edd87
mov eax, dword [esp + 0x30]
imul eax, esi
push eax
mov dword [esp + 0x68], eax
call fcn.0059b05a
add esp, 4
test eax, eax
mov dword [esp + 0x4c], eax
je 0x4edd87
mov eax, dword [esp + 0x40]
xor ebx, ebx
cmp word [eax + 2], bx
jbe 0x4edd73
lea ebx, [ebx]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x4c]
push ecx
push 0
push edx
call fcn.005c0060
xor edi, edi
add esp, 0xc
cmp dword [esp + 0x30], edi
jle 0x4edcf4
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x40]
movzx edx, word [ecx + 2]
mov eax, dword [esp + 0x60]
imul edx, edi
add edx, ebx
imul edx, esi
add edx, dword [esp + 0x34]
push esi
push edx
push eax
call fcn.005c1a70
add dword [esp + 0x6c], esi
add edi, 1
add esp, 0xc
cmp edi, dword [esp + 0x30]
jl 0x4edcc4
mov ecx, dword [esp + 0x3c]
push ebx
add ecx, 0x6f0
call fcn.004983f0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x50]
push ecx
push edx
push ecx
mov ecx, dword [eax]
call fcn.00523740
xor edi, edi
cmp dword [esp + 0x50], edi
jle 0x4edd60
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
jmp 0x4edd30
mov edx, dword [esp + 0x40]
movzx eax, word [edx + 2]
mov ecx, dword [esp + 0x60]
imul eax, edi
add eax, ebx
imul eax, esi
add eax, dword [esp + 0x34]
push esi
push ecx
push eax
call fcn.005c1a70
add dword [esp + 0x6c], esi
add edi, 1
add esp, 0xc
cmp edi, dword [esp + 0x50]
jl 0x4edd30
mov ecx, dword [esp + 0x40]
movzx edx, word [ecx + 2]
add ebx, 1
cmp ebx, edx
jl 0x4edca0
mov eax, dword [esp + 0x4c]
push eax
call fcn.0059b05f
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x40]
add esp, 4
cmp byte [ebx + 0x708], 0
jne 0x4edda3
fld1
fcomp dword [ebx + 0x70c]
fnstsw ax
test ah, 5
jp 0x4ee21f
mov ecx, dword [esp + 0x40]
movzx eax, word [ecx + 2]
imul eax, dword [esp + 0x50]
xor ecx, ecx
mov dword [esp + 0x30], eax
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059b05a
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x60], ebx
je 0x4ee21f
xor eax, eax
cmp dword [esp + 0x30], eax
jle 0x4edecc
fld qword [0x617cc0]
xor edx, edx
fld qword [0x6299b0]
fld qword [0x629e40]
fld qword [0x62dda8]
cmp byte [esp + 0x2e], 0
je 0x4ede86
mov ecx, dword [esp + 0x38]
movzx ecx, word [ecx + 0xe]
cmp cx, 8
jne 0x4ede2d
mov ecx, dword [esp + 0x34]
movzx ecx, byte [eax + ecx]
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fdiv st(4)
jmp 0x4edeb1
cmp cx, 0x10
jne 0x4ede47
mov ecx, dword [esp + 0x34]
movsx ecx, word [ecx + eax*2]
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fdiv st(3)
jmp 0x4edeb1
cmp cx, 0x18
jne 0x4ede75
mov ecx, dword [esp + 0x34]
mov si, word [edx + ecx]
mov cl, byte [edx + ecx + 2]
mov byte [esp + 0x67], cl
mov word [esp + 0x65], si
mov ecx, dword [esp + 0x64]
sar ecx, 8
mov dword [esp + 0x58], ecx
fild dword [esp + 0x58]
fdiv st(2)
jmp 0x4edeb1
cmp cx, 0x20
jne 0x4ede86
mov ecx, dword [esp + 0x34]
fild dword [ecx + eax*4]
fdiv st(1)
jmp 0x4edeb1
cmp byte [esp + 0x2f], 0
je 0x4edeb4
mov ecx, dword [esp + 0x38]
movzx ecx, word [ecx + 0xe]
cmp cx, 0x20
jne 0x4edea4
mov ecx, dword [esp + 0x34]
fld dword [ecx + eax*4]
jmp 0x4edeb1
cmp cx, 0x40
jne 0x4edeb4
mov ecx, dword [esp + 0x34]
fld qword [ecx + eax*8]
fstp qword [ebx + eax*8]
add eax, 1
add edx, 3
cmp eax, dword [esp + 0x30]
jl 0x4ede01
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(0)
fld1
mov edi, dword [esp + 0x3c]
cmp byte [edi + 0x708], 0
fst qword [esp + 0x58]
je 0x4ee069
fldz
xor esi, esi
cmp dword [esp + 0x30], 4
jl 0x4edfdc
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffffc
shr ecx, 2
add ecx, 1
lea edx, [ebx + 0x10]
lea esi, [ecx*4]
fld qword [edx - 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4edf17
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4edf24
fstp st(0)
fld st(1)
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4edf39
fstp qword [edi + 0x700]
jmp 0x4edf3b
fstp st(0)
fld qword [edx - 8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4edf49
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4edf56
fstp st(0)
fld st(1)
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4edf6b
fstp qword [edi + 0x700]
jmp 0x4edf6d
fstp st(0)
fld qword [edx]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4edf7a
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4edf87
fstp st(0)
fld st(1)
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4edf9c
fstp qword [edi + 0x700]
jmp 0x4edf9e
fstp st(0)
fld qword [edx + 8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4edfac
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4edfb9
fstp st(0)
fld st(1)
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4edfce
fstp qword [edi + 0x700]
jmp 0x4edfd0
fstp st(0)
add edx, 0x20
sub ecx, 1
jne 0x4edf09
cmp esi, dword [esp + 0x30]
jge 0x4ee01f
mov ecx, dword [esp + 0x30]
fld qword [ebx + esi*8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4edff4
fchs
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x4ee001
fstp st(0)
fld st(1)
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4ee016
fstp qword [edi + 0x700]
jmp 0x4ee018
fstp st(0)
add esi, 1
cmp esi, ecx
jl 0x4edfe6
cmp byte [edi + 0x709], 0
fstp st(0)
fld st(0)
fdiv qword [edi + 0x700]
fstp qword [esp + 0x58]
je 0x4ee04c
fild qword [esp + 0x78]
fdiv qword [0x62dda0]
fsubr qword [edi + 0x700]
fstp qword [edi + 0x700]
fld qword [0x619c40]
fcom qword [edi + 0x700]
fnstsw ax
test ah, 0x41
jne 0x4ee067
fstp qword [edi + 0x700]
jmp 0x4ee069
fstp st(0)
fld1
fcomp dword [edi + 0x70c]
fnstsw ax
test ah, 5
jp 0x4ee09b
fstp st(0)
fld dword [edi + 0x70c]
call fcn.005c2a70
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fld1
fadd st(1), st(0)
fxch st(1)
fmul qword [esp + 0x58]
fstp qword [esp + 0x58]
xor esi, esi
cmp dword [esp + 0x30], esi
jle 0x4ee20d
mov ebx, dword [esp + 0x38]
xor edi, edi
cmp byte [esp + 0x2e], 0
mov edx, dword [esp + 0x60]
fld qword [edx + esi*8]
fmul qword [esp + 0x58]
je 0x4ee18c
movzx eax, word [ebx + 0xe]
cmp ax, 8
jne 0x4ee0f2
push 0xff
fstp st(1)
push 0
sub esp, 8
fstp qword [esp]
call fcn.004ed4e0
mov ecx, dword [esp + 0x44]
fld1
add esp, 0x10
mov byte [esi + ecx], al
jmp 0x4ee1f9
cmp ax, 0x10
jne 0x4ee121
push 0x7fff
fstp st(1)
push 0xffff8000
sub esp, 8
fstp qword [esp]
call fcn.004ed5a0
mov edx, dword [esp + 0x44]
fld1
add esp, 0x10
mov word [edx + esi*2], ax
jmp 0x4ee1f9
cmp ax, 0x18
jne 0x4ee161
push 0x7fffff
fstp st(1)
push 0xff800000
sub esp, 8
fstp qword [esp]
call fcn.004ed550
fld1
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x44]
mov cx, word [esp + 0x74]
mov dl, byte [esp + 0x76]
add esp, 0x10
add eax, edi
mov word [eax], cx
mov byte [eax + 2], dl
jmp 0x4ee1f9
cmp ax, 0x20
jne 0x4ee18c
push DirectSoundCreate
fstp st(1)
push DirectSoundCreate
sub esp, 8
fstp qword [esp]
call fcn.004ed550
mov ecx, dword [esp + 0x44]
fld1
add esp, 0x10
mov dword [ecx + esi*4], eax
jmp 0x4ee1f9
cmp byte [esp + 0x2f], 0
je 0x4ee1f7
movzx eax, word [ebx + 0xe]
cmp ax, 0x20
jne 0x4ee1c8
fstp st(1)
sub esp, 0x10
fld1
fstp dword [esp + 0xc]
fld dword [0x629e50]
fstp dword [esp + 8]
fstp qword [esp]
call fcn.004ed600
mov edx, dword [esp + 0x44]
fstp dword [edx + esi*4]
add esp, 0x10
fld1
jmp 0x4ee1f9
cmp ax, 0x40
jne 0x4ee1f7
sub esp, 0x18
fxch st(1)
fstp qword [esp + 0x10]
fld qword [0x61d4a8]
fstp qword [esp + 8]
fstp qword [esp]
call fcn.004ed670
mov eax, dword [esp + 0x4c]
fstp qword [eax + esi*8]
add esp, 0x18
fld1
jmp 0x4ee1f9
fstp st(0)
add esi, 1
add edi, 3
cmp esi, dword [esp + 0x30]
jl 0x4ee0ad
mov ebx, dword [esp + 0x60]
push ebx
fstp st(0)
call fcn.0059b05f
mov edi, dword [ebp + 0xc]
mov esi, dword [esp + 0x48]
add esp, 4
mov edx, dword [esp + 0x40]
movzx eax, word [edx + 2]
imul eax, dword [esp + 0x50]
mov ecx, dword [edi]
imul eax, esi
mov ecx, dword [ecx + 0x30]
push eax
push edi
call ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, edi
call fcn.0051f060
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8