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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c03d4
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x617560]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebx + 0x104]
mov dword [ebp - 0x90], eax
lea eax, [ebx + 0x104]
push 0xffffffffffffffff
push ecx
mov dword [ebp - 0xe4], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xe0], eax
xor edi, edi
mov dword [ebp - 4], edi
cmp byte [ebx + 0x61], 0
jne 0x4a00c7
mov eax, 0xf
push 0x608f10
lea edx, [ebp - 0x390]
push edx
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x38c], 5
mov dword [ebp - 0x388], edi
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x36c], edi
mov byte [ebp - 0x37c], 0
mov dword [ebp - 0x34c], eax
mov dword [ebp - 0x350], edi
mov byte [ebp - 0x360], 0
mov dword [ebp - 0x330], eax
mov dword [ebp - 0x334], edi
mov byte [ebp - 0x344], 0
mov dword [ebp - 0x384], edi
call fcn.004eb93b
mov al, byte [ebx + 0x5c]
test al, al
je 0x4a0141
mov eax, 0xf
push 0x608f10
lea ecx, [ebp - 0x3f4]
push ecx
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x3f0], 5
mov dword [ebp - 0x3ec], 2
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3d0], edi
mov byte [ebp - 0x3e0], 0
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3b4], edi
mov byte [ebp - 0x3c4], 0
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x398], edi
mov byte [ebp - 0x3a8], 0
mov dword [ebp - 0x3e8], edi
call fcn.004eb93b
mov dl, byte [ebx + 0x5d]
test dl, dl
je 0x4a01bb
mov eax, 0xf
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x45c], eax
push 0x608f10
lea eax, [ebp - 0x4bc]
push eax
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x4b8], 5
mov dword [ebp - 0x4b4], 2
mov dword [ebp - 0x498], edi
mov byte [ebp - 0x4a8], 0
mov dword [ebp - 0x47c], edi
mov byte [ebp - 0x48c], 0
mov dword [ebp - 0x460], edi
mov byte [ebp - 0x470], 0
mov dword [ebp - 0x4b0], edi
call fcn.004eb93b
mov edx, dword [ebp - 0x90]
mov eax, dword [ebx + 0x20c]
mov esi, dword [eax + 0x48]
push edx
lea ecx, [ebx + 0x34]
push ebx
call fcn.004a4e70
lea ecx, [ebp - 0x188]
mov dword [ebp - 0x19c], ecx
lea ecx, [ebp - 0x17c]
lea edx, [ebp - 0x184]
lea eax, [ebp - 0x180]
mov dword [ebp - 0x190], ecx
mov ecx, dword [ebx + 0x10]
mov dword [ebp - 0x198], edx
mov dword [ebp - 0x194], eax
lea edx, [ebp - 0x16c]
lea eax, [ebp - 0x188]
mov esi, 0x10
push ecx
mov dword [ebp - 0x18c], edx
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], esi
call fcn.004c520b
lea edx, [ebp - 0x120]
mov dword [ebp - 0x134], edx
mov dword [ebp - 0xa0], eax
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x11c]
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x128], edx
mov edx, dword [ebx + 0x10]
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], ecx
add esp, 4
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x120]
push edx
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x100], edi
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x110], esi
call fcn.004c520b
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 0x160], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebx + 0x1c]
add esp, 4
cmp eax, ecx
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xc8], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0x164], 4
mov dword [ebp - 0x154], eax
jl 0x4a033d
mov dword [ebp - 0x154], ecx
mov eax, dword [ebx]
xor edx, edx
cmp byte [ebx + 0x38], dl
mov dword [ebp - 0x14c], eax
sete dl
cmp dword [ebx + 0x34], 2
mov dword [ebp - 0x150], edx
jne 0x4a036a
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x144], edx
jmp 0x4a037b
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x144]
call fcn.004a8db0
call fcn.004a87d0
push eax
call fcn.004e9229
add esp, 4
call fcn.004e9236
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv qword [0x600518]
fmul qword [0x600598]
call fcn.004ecec0
lea ecx, [eax - 1]
mov dword [ebp - 0x15c], eax
mov dword [ebx + 0xc8], eax
mov dword [ebx + 0xb4], ecx
mov dword [ebx + 0xa8], eax
mov dword [ebx + 0xac], eax
mov dword [ebx + 0xb0], ecx
mov dword [ebx + 0xb8], eax
call fcn.004a87d0
mov ecx, dword [ebp - 0xa0]
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], edx
lea esi, [ebx + 0x10]
push 0
xor edi, edi
mov edx, esi
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x188], closesocket
call fcn.004aa200
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0x88]
mov dword [eax], edi
push edi
mov edx, esi
lea eax, [ebp - 0x134]
mov dword [ebp - 0x120], closesocket
call fcn.004aa200
xor esi, esi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0xac], 0x5b8d80
mov dword [ebp - 0xa8], edi
je 0x4a045b
mov dword [ebp - 0xac], 0x3938700
mov dword [ebp - 0xa8], esi
call fcn.004a87d0
mov edi, 0xf
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x84], vtable.CUDTException.0
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], esi
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov byte [ebp - 0x38], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 1
mov cl, byte [ebx + 0x5e]
test cl, cl
mov dword [ebp - 0x8c], esi
jne 0x4a076d
lea ecx, [ecx]
cmp dword [ebx + 0x10], 0x30
jl 0x4a04d7
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x164]
call fcn.004aa350
mov eax, dword [ebx + 0x208]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x170], 0x30
mov eax, dword [eax + 8]
push edx
push eax
lea esi, [ebp - 0x19c]
call fcn.004a9450
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x20c]
lea edx, [ebp - 0x134]
push edx
mov dword [ebp - 0x108], ecx
push eax
mov ecx, ebx
call fcn.004a5990
test eax, eax
jle 0x4a0623
cmp byte [ebx + 0x38], 0
mov eax, dword [ebp - 0x120]
je 0x4a0551
test eax, eax
jns 0x4a0543
mov ecx, eax
and ecx, 0x7fff0000
cmp ecx, 0x10000
jne 0x4a0551
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x4a0674
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x4a0595
test eax, 0x7fff0000
jne 0x4a0595
cmp dword [ebp - 0x108], 0x30
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
jl 0x4a0584
lea ecx, [ebp - 0xdc]
call fcn.004aa3b0
cmp byte [ebx + 0x38], 0
je 0x4a05fd
mov eax, dword [ebp - 0xc8]
cmp eax, 1
jne 0x4a05a4
mov dword [ebp - 0x108], 0xffffffff
jmp 0x4a0630
test eax, eax
je 0x4a05b1
cmp dword [ebp - 0x150], 0
jne 0x4a0623
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x4a05cd
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.004c520b
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebx + 0x10], 0x30
jl 0x4a05de
lea ecx, [ebp - 0xdc]
call fcn.004aa350
mov edx, dword [ebp - 0x190]
mov ecx, dword [ebp - 0xc4]
or eax, 0xffffffff
mov dword [edx], ecx
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x108], eax
jmp 0x4a0630
cmp dword [ebp - 0xc8], 1
jne 0x4a0623
mov edx, dword [ebp - 0xc0]
or eax, 0xffffffff
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x108], eax
jmp 0x4a0630
cmp dword [ebp - 0x108], 0
jg 0x4a06b6
call fcn.004a87d0
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
adc ecx, dword [ebp - 0xa8]
cmp edx, ecx
ja 0x4a06eb
jb 0x4a065f
cmp eax, esi
ja 0x4a06eb
mov al, byte [ebx + 0x5e]
test al, al
mov edi, 0xf
je 0x4a04c0
jmp 0x4a076d
mov eax, ecx
lea ecx, [ebp - 0xdc]
call fcn.004aa3b0
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x214], ecx
mov ecx, dword [ebp - 0xb0]
mov dword [ebx + 0x218], edx
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], ecx
jmp 0x4a076d
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
mov dword [ebx + 0x214], edx
mov edx, dword [ebp - 0xb0]
mov dword [ebx + 0x218], eax
mov dword [ebx + 0x21c], ecx
mov dword [ebx + 0x220], edx
jmp 0x4a076d
mov eax, 1
mov edi, 0xf
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], eax
xor eax, eax
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2b4], al
mov dword [ebp - 0x284], edi
mov dword [ebp - 0x288], eax
mov byte [ebp - 0x298], al
mov dword [ebp - 0x268], edi
mov dword [ebp - 0x26c], eax
mov byte [ebp - 0x27c], al
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x2c8]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 2
call fcn.004a0dc0
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.004a8960
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004c5206
mov ecx, dword [ebp - 0xa0]
add esp, 4
push ecx
call fcn.004c5206
mov edx, dword [ebp - 0x88]
add esp, 4
push edx
call fcn.004c5206
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add esp, 4
add eax, dword [ebp - 0x7c]
jne 0x4a0955
mov cl, byte [ebx + 0x5e]
test cl, cl
je 0x4a0831
xor eax, eax
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x328], 1
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x304], edi
mov dword [ebp - 0x308], eax
mov byte [ebp - 0x318], al
mov dword [ebp - 0x2e8], edi
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 0x2fc], al
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2d0], eax
mov byte [ebp - 0x2e0], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x32c]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.004a0dc0
lea ecx, [ebp - 0x32c]
jmp 0x4a094c
cmp dword [ebp - 0xc8], 0x3ea
jne 0x4a08b9
xor eax, eax
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f8], 2
mov dword [ebp - 0x1d8], edi
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 0x1ec], al
mov dword [ebp - 0x1bc], edi
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 0x1d0], al
mov dword [ebp - 0x1a0], edi
mov dword [ebp - 0x1a4], eax
mov byte [ebp - 0x1b4], al
mov dword [ebp - 0x1f4], eax
lea eax, [ebp - 0x200]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 4
call fcn.004a0dc0
lea ecx, [ebp - 0x200]
jmp 0x4a094c
cmp byte [ebx + 0x38], 0
jne 0x4a0955
mov edx, dword [ebx + 0xc8]
cmp edx, dword [ebp - 0xd4]
je 0x4a0955
xor eax, eax
mov dword [ebp - method.CUDTException.virtual_0], vtable.CUDTException.0
mov dword [ebp - 0x260], 1
mov dword [ebp - 0x25c], 4
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x240], eax
mov byte [ebp - 0x250], al
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], eax
mov byte [ebp - 0x234], al
mov dword [ebp - 0x204], edi
mov dword [ebp - 0x208], eax
mov byte [ebp - 0x218], al
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x264]
lea esi, [ebp - 0x84]
mov byte [ebp - 4], 5
call fcn.004a0dc0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.004a8960
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x7c]
je 0x4a099b
cmp byte [ebx + 0x38], 0
je 0x4a0978
mov eax, dword [ebx + 0x20c]
mov esi, dword [eax + 0x48]
push ebx
call fcn.004a4f50
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x560]
call fcn.004a8910
push 0x608f10
lea edx, [ebp - 0x560]
push edx
call fcn.004eb93b
mov eax, dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0xc4]
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
add eax, 0xffffffe4
mov dword [ebx + 0xc], eax
add eax, 0xfffffff0
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebx + 0x100], eax
mov dword [ebx + 0xdc], eax
mov dword [ebx + 0xe8], eax
add eax, 0xffffffff
mov dword [ebx + 0x98], ecx
push 0x28
mov dword [ebx + 0xf0], eax
mov dword [ebx + 8], edx
mov byte [ebp - 4], 6
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 7
je 0x4a0a21
lea edx, [ebx + 0x10]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x20
call fcn.004a6e70
jmp 0x4a0a23
xor eax, eax
mov byte [ebp - 4], 6
push 0x1c
mov dword [ebx + 0x7c], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 8
je 0x4a0a57
mov edx, dword [ebx + 0x20c]
add edx, 4
lea eax, [ebx + 0x24]
call fcn.004a73d0
jmp 0x4a0a59
xor eax, eax
mov byte [ebp - 4], 6
push 0x20
mov dword [ebx + 0xcc], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 9
je 0x4a0a98
mov eax, dword [ebx + 0x98]
add eax, eax
lea edi, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
call fcn.004aa420
jmp 0x4a0a9a
xor eax, eax
mov byte [ebp - 4], 6
push 0x28
mov dword [ebx + 0x80], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x4a0ac8
lea edi, [ebx + 0x1c]
call fcn.004aadf0
jmp 0x4a0aca
xor eax, eax
mov byte [ebp - 4], 6
push 0x18
mov dword [ebx + 0xd0], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xb
je 0x4a0b05
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], 0x1000
call fcn.004a9d10
jmp 0x4a0b07
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd4], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xc
je 0x4a0b52
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xe8], 0x40
mov dword [ebp - 0xfc], 0x10
call fcn.004a9fb0
jmp 0x4a0b54
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd8], eax
call fcn.004c51db
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xd
je 0x4a0b7f
call fcn.004a9ef0
jmp 0x4a0b81
xor eax, eax
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x84], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
mov dword [ebx + 0x54], eax
mov dword [eax + 0x48], ecx
mov eax, dword [ebx + 0x1b4]
mov edx, dword [ebx + 0x1b0]
mov ecx, eax
and eax, 0x7fffffff
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x9c], edx
fild qword [ebp - 0x9c]
and ecx, 0x80000000
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x9c], 0
fild qword [ebp - 0x9c]
fchs
faddp st(1)
fmul qword [eax + 0x10]
call fcn.004ecef6
mov ecx, dword [ebx + 0x54]
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], edx
fld qword [ecx + 0x18]
lea edx, [ebp - 0x4fc]
fstp qword [ebx + 0xa0]
push edx
lea eax, [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x90]
call fcn.004a7920
test eax, eax
jl 0x4a0c38
mov ecx, dword [ebp - 0x4dc]
mov edx, dword [ebp - 0x4d8]
mov dword [ebx + 0x70], ecx
mov dword [ebx + 0x6c], edx
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0x30], ecx
fild dword [ebx + 0x98]
mov edx, dword [ebx + 0x54]
fstp qword [edx + 0x28]
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0xb0]
mov dword [eax + 0x34], ecx
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x78]
mov dword [edx + 0x38], eax
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebx + 0x70]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x6c]
mov dword [eax + 0x20], ecx
cmp dword [ebx + 0x4c], 0
lea eax, [ebx + 0x48]
jl 0x4a0c9d
jg 0x4a0c84
cmp dword [eax], 0
jbe 0x4a0c9d
mov edi, dword [ebx + 0x54]
push eax
lea esi, [ebp - 0xf8]
mov dword [ebp - 0xf8], 8
call fcn.004a9790
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x34], 2
jne 0x4a0cb1
push 0x10
jmp 0x4a0cb3
push 0x1c
call fcn.004c51db
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebp - 0x90]
sub ecx, 2
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xc
add ecx, 0x10
push ecx
push edx
push eax
mov dword [ebx + 0x210], eax
call fcn.004f0e70
mov eax, dword [ebx + 0x228]
add esp, 0xc
mov byte [ebx + 0x5d], 1
mov byte [eax + 0x18], 1
mov ecx, dword [ebx + 0x20c]
push ebx
call fcn.004a5bb0
mov ecx, dword [ebx + 0x20c]
mov esi, dword [ecx + 0x48]
push ebx
call fcn.004a4f50
lea ecx, [ebp - 0x84]
call fcn.004a8960
cmp dword [ebp - 0xe0], 0xffffffff
je 0x4a0d2e
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004e3dc3
mov esp, ebp
pop ebp
ret 4