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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf214
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x629560]
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 0x4af017
mov eax, 0xf
push 0x61a010
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.004fa66b
mov al, byte [ebx + 0x5c]
test al, al
je 0x4af091
mov eax, 0xf
push 0x61a010
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.004fa66b
mov dl, byte [ebx + 0x5d]
test dl, dl
je 0x4af10b
mov eax, 0xf
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x45c], eax
push 0x61a010
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.004fa66b
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.004b3dc0
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.004d3cbb
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.004d3cbb
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 0x4af28d
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 0x4af2ba
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x144], edx
jmp 0x4af2cb
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x144]
call fcn.004b7880
call fcn.004b72a0
push eax
call fcn.004f7f59
add esp, 4
call fcn.004f7f66
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv qword [0x611668]
fmul qword [0x6116e8]
call fcn.004fb970
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.004b72a0
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], htons
call fcn.004b8cb0
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], htons
call fcn.004b8cb0
xor esi, esi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0xac], 0x5b8d80
mov dword [ebp - 0xa8], edi
je 0x4af3ab
mov dword [ebp - 0xac], 0x3938700
mov dword [ebp - 0xa8], esi
call fcn.004b72a0
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 0x4af6bd
lea ecx, [ecx]
cmp dword [ebx + 0x10], 0x30
jl 0x4af427
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x164]
call fcn.004b8e00
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.004b7f20
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.004b48e0
test eax, eax
jle 0x4af573
cmp byte [ebx + 0x38], 0
mov eax, dword [ebp - 0x120]
je 0x4af4a1
test eax, eax
jns 0x4af493
mov ecx, eax
and ecx, 0x7fff0000
cmp ecx, 0x10000
jne 0x4af4a1
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x4af5c4
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x4af4e5
test eax, 0x7fff0000
jne 0x4af4e5
cmp dword [ebp - 0x108], 0x30
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
jl 0x4af4d4
lea ecx, [ebp - 0xdc]
call fcn.004b8e60
cmp byte [ebx + 0x38], 0
je 0x4af54d
mov eax, dword [ebp - 0xc8]
cmp eax, 1
jne 0x4af4f4
mov dword [ebp - 0x108], 0xffffffff
jmp 0x4af580
test eax, eax
je 0x4af501
cmp dword [ebp - 0x150], 0
jne 0x4af573
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x4af51d
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.004d3cbb
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebx + 0x10], 0x30
jl 0x4af52e
lea ecx, [ebp - 0xdc]
call fcn.004b8e00
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 0x4af580
cmp dword [ebp - 0xc8], 1
jne 0x4af573
mov edx, dword [ebp - 0xc0]
or eax, 0xffffffff
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x108], eax
jmp 0x4af580
cmp dword [ebp - 0x108], 0
jg 0x4af606
call fcn.004b72a0
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
adc ecx, dword [ebp - 0xa8]
cmp edx, ecx
ja 0x4af63b
jb 0x4af5af
cmp eax, esi
ja 0x4af63b
mov al, byte [ebx + 0x5e]
test al, al
mov edi, 0xf
je 0x4af410
jmp 0x4af6bd
mov eax, ecx
lea ecx, [ebp - 0xdc]
call fcn.004b8e60
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 0x4af6bd
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 0x4af6bd
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.004afd10
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.004b7430
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004d3cb6
mov ecx, dword [ebp - 0xa0]
add esp, 4
push ecx
call fcn.004d3cb6
mov edx, dword [ebp - 0x88]
add esp, 4
push edx
call fcn.004d3cb6
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add esp, 4
add eax, dword [ebp - 0x7c]
jne 0x4af8a5
mov cl, byte [ebx + 0x5e]
test cl, cl
je 0x4af781
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.004afd10
lea ecx, [ebp - 0x32c]
jmp 0x4af89c
cmp dword [ebp - 0xc8], 0x3ea
jne 0x4af809
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.004afd10
lea ecx, [ebp - 0x200]
jmp 0x4af89c
cmp byte [ebx + 0x38], 0
jne 0x4af8a5
mov edx, dword [ebx + 0xc8]
cmp edx, dword [ebp - 0xd4]
je 0x4af8a5
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.004afd10
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.004b7430
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x7c]
je 0x4af8eb
cmp byte [ebx + 0x38], 0
je 0x4af8c8
mov eax, dword [ebx + 0x20c]
mov esi, dword [eax + 0x48]
push ebx
call fcn.004b3ea0
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x560]
call fcn.004b73e0
push 0x61a010
lea edx, [ebp - 0x560]
push edx
call fcn.004fa66b
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.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 7
je 0x4af971
lea edx, [ebx + 0x10]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x20
call fcn.004b58f0
jmp 0x4af973
xor eax, eax
mov byte [ebp - 4], 6
push 0x1c
mov dword [ebx + 0x7c], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 8
je 0x4af9a7
mov edx, dword [ebx + 0x20c]
add edx, 4
lea eax, [ebx + 0x24]
call fcn.004b5e50
jmp 0x4af9a9
xor eax, eax
mov byte [ebp - 4], 6
push 0x20
mov dword [ebx + 0xcc], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 9
je 0x4af9e8
mov eax, dword [ebx + 0x98]
add eax, eax
lea edi, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
call fcn.004b8ed0
jmp 0x4af9ea
xor eax, eax
mov byte [ebp - 4], 6
push 0x28
mov dword [ebx + 0x80], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x4afa18
lea edi, [ebx + 0x1c]
call fcn.004b98a0
jmp 0x4afa1a
xor eax, eax
mov byte [ebp - 4], 6
push 0x18
mov dword [ebx + 0xd0], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xb
je 0x4afa55
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], 0x1000
call fcn.004b87c0
jmp 0x4afa57
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd4], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xc
je 0x4afaa2
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xe8], 0x40
mov dword [ebp - 0xfc], 0x10
call fcn.004b8a60
jmp 0x4afaa4
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd8], eax
call fcn.004d3c8b
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xd
je 0x4afacf
call fcn.004b89a0
jmp 0x4afad1
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.004fb9a6
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.004b63a0
test eax, eax
jl 0x4afb88
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 0x4afbed
jg 0x4afbd4
cmp dword [eax], 0
jbe 0x4afbed
mov edi, dword [ebx + 0x54]
push eax
lea esi, [ebp - 0xf8]
mov dword [ebp - 0xf8], 8
call fcn.004b8240
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x34], 2
jne 0x4afc01
push 0x10
jmp 0x4afc03
push 0x1c
call fcn.004d3c8b
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.004ff920
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.004b4b50
mov ecx, dword [ebx + 0x20c]
mov esi, dword [ecx + 0x48]
push ebx
call fcn.004b3ea0
lea ecx, [ebp - 0x84]
call fcn.004b7430
cmp dword [ebp - 0xe0], 0xffffffff
je 0x4afc7e
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.004f2719
mov esp, ebp
pop ebp
ret 4