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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 4]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
mov byte [ebp - 0xc], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
cmp ecx, esi
je 0x49f6e3
cmp dword [ecx], esi
je 0x49f6e3
mov edi, dword [ebx + 8]
cmp edi, esi
jne 0x49ee48
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov dword [ebp - 0x38], esi
add esp, 4
lea esi, [ebp - 0x18]
call fcn.004af7f0
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push edx
mov edx, eax
call fcn.004f9360
mov esi, eax
test esi, esi
jge 0x49ee72
lea eax, [ebp - 0x3c]
call fcn.004ae8e0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x1c]
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebx + 4]
mov esi, dword [ecx + 0x14]
add esi, 0xc
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [ebx + 0x1c], edi
test edi, edi
jne 0x49eec1
lea eax, [ebp - 0x3c]
call fcn.004ae8e0
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x14]
add ecx, 0xc
je 0x49eed1
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x24]
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x28]
xor ecx, ecx
add esp, 4
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov edi, eax
add esp, 4
mov dword [ebx + 0x24], edi
test edi, edi
je 0x49eeab
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 0x28]
test ecx, ecx
jbe 0x49ef14
or eax, 0xffffffff
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x28]
push ecx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov edx, dword [ebx + 4]
mov eax, dword [edx + 0x18]
xor ecx, ecx
add esp, 4
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebx + 0x28], eax
test eax, eax
je 0x49eeab
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0x18]
add edx, edx
add edx, edx
push edx
push 0
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebx + 0x30]
add esp, 0xc
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ebp - 4]
add esp, 4
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebx + 0x30], eax
test eax, eax
je 0x49eeab
mov edx, dword [ebx + 4]
xor eax, eax
cmp dword [edx + 0x1c], eax
jbe 0x49efc3
jmp 0x49efb0
mov ecx, dword [ebx + 0x30]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebx + 4]
inc eax
cmp eax, dword [edx + 0x1c]
jb 0x49efb0
mov eax, dword [ebx + 4]
fldz
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x34], ecx
mov edx, dword [eax + 0x14]
inc edx
mov dword [ebx + 0x3c], edx
mov ecx, dword [eax + 0x14]
add ecx, 2
mov dword [ebx + 0x40], ecx
mov edx, dword [eax + 0x14]
add edx, 3
mov dword [ebx + 0x38], edx
mov ecx, dword [eax + 0x14]
add ecx, 4
mov dword [ebx + 0x88], ecx
mov edx, dword [eax + 0x14]
add edx, 5
mov dword [ebx + 0x8c], edx
mov ecx, dword [eax + 0x14]
add ecx, 6
mov dword [ebx + 0x90], ecx
mov edx, dword [eax + 0x14]
add edx, 7
mov dword [ebx + 0x94], edx
mov ecx, dword [eax + 0x14]
add ecx, 8
mov dword [ebx + 0x98], ecx
mov edx, dword [eax + 0x14]
add edx, 9
mov dword [ebx + 0x9c], edx
mov ecx, dword [eax + 0x14]
sub esp, 8
fstp qword [esp]
push 0
add ecx, 0xa
mov dword [ebx + 0xa0], ecx
mov edx, dword [eax + 0x14]
mov eax, dword [ebx + 8]
push 0
add edx, 0xb
push 0
mov dword [ebx + 0xa4], edx
mov ecx, dword [eax + 0x36c0]
mov edx, dword [ebx + 0x34]
push 0
push ecx
mov ecx, dword [ebx + 0x1c]
lea edx, [ecx + edx*4]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x1c]
sub esp, 8
fstp qword [esp]
push 0
push 0
mov dword [ecx + eax*4], 0xffffffff
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x36c0]
mov ecx, dword [ebx + 0x40]
push 0
push 0
push edx
mov edx, dword [ebx + 0x1c]
lea ecx, [edx + ecx*4]
push ecx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov eax, dword [ebx + 8]
mov edx, dword [eax + 0x36c0]
mov ecx, dword [ebx + 0x38]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push edx
mov edx, dword [ebx + 0x1c]
lea ecx, [edx + ecx*4]
push ecx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
mov edx, dword [ebx + 0x88]
fld1
mov eax, dword [ebx + 0x1c]
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [ebx + 0x94]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebx + 0x94]
mov eax, dword [ebx + 0x1c]
mov dword [eax + edx*4], 0xffffffff
mov ecx, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], 0xffffffff
mov eax, dword [ebx + 0xa0]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0x1c]
mov dword [eax + edx*4], 0xffffffff
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx + eax*4]
sub esp, 8
mov dword [edx + 0x38], eax
fstp qword [esp]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx + eax*4]
push 0x20
push 0x20007800
mov dword [edx + 0x38], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0
push 0
push ecx
lea edx, [ebx + 0x70]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
sub esp, 8
fstp qword [esp]
push 0x20
push 0x20007800
push 0
push 0
push ecx
lea edx, [ebx + 0x74]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fld qword [0x44f558]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
sub esp, 8
fstp qword [esp]
push 0x20
push 0x20007800
push 0
push 0
push ecx
lea edx, [ebx + 0x78]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0x10
push 0x20007800
push 0
push 1
push 0
push 0
push ecx
lea edx, [ebx + 0x58]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0x10
push 0x20007800
push 0
push 0
push 0
push 0
push ecx
lea edx, [ebx + 0x54]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0x10
push 0x20007800
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ecx
lea edx, [ebx + 0x5c]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0x10
push 0x20007800
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ecx
lea edx, [ebx + 0x60]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 8
push 0x20007800
push 0
push 1
push 0
push 0
push ecx
lea edx, [ebx + 0x68]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 8
push 0x20007800
push 0
push 0
push 0
push 0
push ecx
lea edx, [ebx + 0x64]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 8
push 0x20007800
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ecx
lea edx, [ebx + 0x6c]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0
push 0xa0007800
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0
push ecx
lea edx, [ebx + 0x44]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x366c]
push 0
push 0xa0007800
push 0
push 0
push 0
push 0
push ecx
lea edx, [ebx + 0x48]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x3668]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push ecx
lea edx, [ebx + 0x4c]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x36ec]
sub esp, 8
fstp qword [esp]
push 0
push 0
push 0
push 0
push ecx
lea edx, [ebx + 0x50]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
push 4
push 4
push 0xffffffffffffffff
push 0
push 0x751
push 0x438d34
lea eax, [ebx + 0xd0]
push eax
mov eax, dword [ebx + 8]
push eax
call fcn.005088d0
mov edi, eax
test edi, edi
jl 0x49f6d0
mov ecx, dword [ebx + 8]
push 4
push 4
push 0xffffffffffffffff
push 0
push 0x751
push 0x438d34
lea eax, [ebx + 0xd4]
push eax
push ecx
call fcn.005088d0
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 8]
push 4
push 4
push 0xffffffffffffffff
push 0
push 0x10000251
push 0x4403e4
lea edx, [ebp - 4]
push edx
push eax
call fcn.005088d0
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov esi, dword [ebp - 4]
mov ecx, dword [ebx + 8]
sub esp, 8
fstp qword [esp]
push 0x20
push 0
push 0
push 0
push esi
lea eax, [ebx + 0x7c]
push eax
push ecx
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov edx, dword [ebx + 8]
sub esp, 8
fstp qword [esp]
push 0x20
push 0
push 1
push 0
push esi
lea eax, [ebx + 0x80]
push eax
push edx
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
mov ecx, dword [ebx + 8]
push 4
push 4
push 0xffffffffffffffff
push 0
push 0x10000251
push 0x4403e8
lea eax, [ebp - 4]
push eax
push ecx
call fcn.005088d0
mov edi, eax
test edi, edi
jl 0x49f6d0
fldz
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 8]
sub esp, 8
fstp qword [esp]
push 0x20
push 6
push 0
push 0
push edx
lea esi, [ebx + 0x84]
push esi
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx + 0x7c]
mov ecx, 1
mov dword [edx + 0x98], ecx
mov dword [eax + 0x98], ecx
mov eax, dword [esi]
mov dword [eax + 0x98], 0x1a
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x49f563
mov eax, dword [ebp - 4]
xor esi, esi
cmp eax, esi
jne 0x49f56d
fld1
jmp 0x49f56f
fldz
mov ecx, dword [ebx + 0xd0]
sub esp, 8
fstp qword [esp]
push 0x20
push 0x800
push esi
push eax
mov eax, dword [ebx + 8]
push ecx
lea edx, [ebp - 8]
push edx
push eax
call fcn.00508980
mov edi, eax
test edi, edi
jl 0x49f6d0
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, esi
setne al
push 8
push 0x800
dec eax
cdq
push edx
push eax
mov eax, dword [ebx + 8]
push esi
push ecx
mov ecx, dword [ebx + 0xd4]
push ecx
lea edx, [ebp - 8]
push edx
push eax
call fcn.00508a30
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebp - 4]
inc esi
cmp esi, 4
jb 0x49f565
inc eax
mov dword [ebp - 4], eax
cmp eax, 4
jb 0x49f560
mov eax, ebx
call fcn.004a2a00
mov ecx, dword [ebx + 0x88]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, ebx
call fcn.004a2a00
mov ecx, dword [ebx + 0x8c]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 8]
test byte [eax + 0xb1], 0x10
je 0x49f62e
mov eax, ebx
call fcn.004a29e0
mov ecx, dword [ebx + 0x98]
mov edx, dword [ebx + 0x1c]
mov dword [edx + ecx*4], eax
jmp 0x49f63e
mov eax, dword [ebx + 0x98]
mov ecx, dword [ebx + 0x1c]
mov dword [ecx + eax*4], 0xffffffff
or eax, 0xffffffff
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xb0], eax
push 0
xor ecx, ecx
mov eax, 0x80
lea esi, [ebp - 0x18]
mov byte [ebx + 0xac], 1
mov byte [ebx + 0xb4], 0
call fcn.004af610
mov edi, eax
test edi, edi
jl 0x49f6d0
mov edx, dword [ebx + 8]
test byte [edx + 0xb3], 4
lea esi, [ebp - 0x3c]
jne 0x49f683
xor esi, esi
mov eax, dword [ebx + 4]
mov eax, dword [eax]
push 1
push ebx
mov ebx, esi
call fcn.004a05b0
mov edi, eax
test edi, edi
jl 0x49f6d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push 0
push eax
mov eax, dword [ecx]
call fcn.004a05b0
mov edi, eax
test edi, edi
jl 0x49f6d0
mov edx, dword [ebp + 8]
cmp byte [edx + 0xda], 0
je 0x49f6d0
lea eax, [ebp - 0x3c]
call fcn.004ae8e0
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x3c]
call fcn.004ae8e0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
mov dword [ebp - 0x38], esi
add esp, 4
lea esi, [ebp - 0x18]
call fcn.004af7f0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4