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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf524
mov eax, dword fs:[0]
push eax
sub esp, 0x558
mov eax, dword [0x628560]
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 0x4af707
mov eax, 0xf
push 0x619850
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.004fa80b
mov al, byte [ebx + 0x5c]
test al, al
je 0x4af781
mov eax, 0xf
push 0x619850
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.004fa80b
mov dl, byte [ebx + 0x5d]
test dl, dl
je 0x4af7fb
mov eax, 0xf
mov dword [ebp - 0x494], eax
mov dword [ebp - 0x478], eax
mov dword [ebp - 0x45c], eax
push 0x619850
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.004fa80b
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.004b44b0
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.004d4016
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.004d4016
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 0x4af97d
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 0x4af9aa
mov ecx, dword [ebp - 0x90]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x144], edx
jmp 0x4af9bb
mov eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x144]
call fcn.004b8370
call fcn.004b7d90
push eax
call fcn.005c5216
add esp, 4
call fcn.005c5223
mov dword [ebp - 0x8c], eax
fild dword [ebp - 0x8c]
fdiv qword [0x610e88]
fmul qword [0x610ef8]
call fcn.004fbc30
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.004b7d90
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], htonl
call fcn.004b97a0
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], htonl
call fcn.004b97a0
xor esi, esi
cmp byte [ebx + 0x38], 0
mov dword [ebp - 0xac], 0x5b8d80
mov dword [ebp - 0xa8], edi
je 0x4afa9b
mov dword [ebp - 0xac], 0x3938700
mov dword [ebp - 0xa8], esi
call fcn.004b7d90
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 0x4afdad
lea ecx, [ecx]
cmp dword [ebx + 0x10], 0x30
jl 0x4afb17
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x164]
call fcn.004b98f0
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.004b8a10
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.004b4fd0
test eax, eax
jle 0x4afc63
cmp byte [ebx + 0x38], 0
mov eax, dword [ebp - 0x120]
je 0x4afb91
test eax, eax
jns 0x4afb83
mov ecx, eax
and ecx, 0x7fff0000
cmp ecx, 0x10000
jne 0x4afb91
mov ecx, dword [ebp - 0x8c]
test ecx, ecx
jne 0x4afcb4
mov edx, eax
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x4afbd5
test eax, 0x7fff0000
jne 0x4afbd5
cmp dword [ebp - 0x108], 0x30
mov eax, dword [ebp - 0x124]
mov eax, dword [eax]
jl 0x4afbc4
lea ecx, [ebp - 0xdc]
call fcn.004b9950
cmp byte [ebx + 0x38], 0
je 0x4afc3d
mov eax, dword [ebp - 0xc8]
cmp eax, 1
jne 0x4afbe4
mov dword [ebp - 0x108], 0xffffffff
jmp 0x4afc70
test eax, eax
je 0x4afbf1
cmp dword [ebp - 0x150], 0
jne 0x4afc63
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x4afc0d
mov ecx, dword [ebx + 0x10]
push ecx
call fcn.004d4016
add esp, 4
mov dword [ebp - 0x8c], eax
cmp dword [ebx + 0x10], 0x30
jl 0x4afc1e
lea ecx, [ebp - 0xdc]
call fcn.004b98f0
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 0x4afc70
cmp dword [ebp - 0xc8], 1
jne 0x4afc63
mov edx, dword [ebp - 0xc0]
or eax, 0xffffffff
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x108], eax
jmp 0x4afc70
cmp dword [ebp - 0x108], 0
jg 0x4afcf6
call fcn.004b7d90
mov esi, dword [ebp - 0x9c]
add esi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0x98]
adc ecx, dword [ebp - 0xa8]
cmp edx, ecx
ja 0x4afd2b
jb 0x4afc9f
cmp eax, esi
ja 0x4afd2b
mov al, byte [ebx + 0x5e]
test al, al
mov edi, 0xf
je 0x4afb00
jmp 0x4afdad
mov eax, ecx
lea ecx, [ebp - 0xdc]
call fcn.004b9950
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 0x4afdad
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 0x4afdad
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.004b0400
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 1
call fcn.004b7f20
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004d401b
mov ecx, dword [ebp - 0xa0]
add esp, 4
push ecx
call fcn.004d401b
mov edx, dword [ebp - 0x88]
add esp, 4
push edx
call fcn.004d401b
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add esp, 4
add eax, dword [ebp - 0x7c]
jne 0x4aff95
mov cl, byte [ebx + 0x5e]
test cl, cl
je 0x4afe71
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.004b0400
lea ecx, [ebp - 0x32c]
jmp 0x4aff8c
cmp dword [ebp - 0xc8], 0x3ea
jne 0x4afef9
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.004b0400
lea ecx, [ebp - 0x200]
jmp 0x4aff8c
cmp byte [ebx + 0x38], 0
jne 0x4aff95
mov edx, dword [ebx + 0xc8]
cmp edx, dword [ebp - 0xd4]
je 0x4aff95
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.004b0400
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.004b7f20
mov eax, dword [ebp - 0x80]
imul eax, eax, 0x3e8
add eax, dword [ebp - 0x7c]
je 0x4affdb
cmp byte [ebx + 0x38], 0
je 0x4affb8
mov eax, dword [ebx + 0x20c]
mov esi, dword [eax + 0x48]
push ebx
call fcn.004b4590
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x560]
call fcn.004b7ed0
push 0x619850
lea edx, [ebp - 0x560]
push edx
call fcn.004fa80b
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.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 7
je 0x4b0061
lea edx, [ebx + 0x10]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x20
call fcn.004b6350
jmp 0x4b0063
xor eax, eax
mov byte [ebp - 4], 6
push 0x1c
mov dword [ebx + 0x7c], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 8
je 0x4b0097
mov edx, dword [ebx + 0x20c]
add edx, 4
lea eax, [ebx + 0x24]
call fcn.004b68b0
jmp 0x4b0099
xor eax, eax
mov byte [ebp - 4], 6
push 0x20
mov dword [ebx + 0xcc], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 9
je 0x4b00d8
mov eax, dword [ebx + 0x98]
add eax, eax
lea edi, [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
call fcn.004b99c0
jmp 0x4b00da
xor eax, eax
mov byte [ebp - 4], 6
push 0x28
mov dword [ebx + 0x80], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xa
je 0x4b0108
lea edi, [ebx + 0x1c]
call fcn.004ba390
jmp 0x4b010a
xor eax, eax
mov byte [ebp - 4], 6
push 0x18
mov dword [ebx + 0xd0], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xb
je 0x4b0145
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], 0x1000
call fcn.004b92b0
jmp 0x4b0147
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd4], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xc
je 0x4b0192
lea edx, [ebp - 0xe8]
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xe8], 0x40
mov dword [ebp - 0xfc], 0x10
call fcn.004b9550
jmp 0x4b0194
xor eax, eax
mov byte [ebp - 4], 6
push 0x38
mov dword [ebx + 0xd8], eax
call fcn.004d3feb
mov esi, eax
add esp, 4
mov dword [ebp - 0x88], esi
test esi, esi
mov byte [ebp - 4], 0xd
je 0x4b01bf
call fcn.004b9490
jmp 0x4b01c1
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.004fbc66
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.004b6e00
test eax, eax
jl 0x4b0278
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 0x4b02dd
jg 0x4b02c4
cmp dword [eax], 0
jbe 0x4b02dd
mov edi, dword [ebx + 0x54]
push eax
lea esi, [ebp - 0xf8]
mov dword [ebp - 0xf8], 8
call fcn.004b8d30
mov ecx, dword [ebx + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp dword [ebx + 0x34], 2
jne 0x4b02f1
push 0x10
jmp 0x4b02f3
push 0x1c
call fcn.004d3feb
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.004ffc50
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.004b5240
mov ecx, dword [ebx + 0x20c]
mov esi, dword [ecx + 0x48]
push ebx
call fcn.004b4590
lea ecx, [ebp - 0x84]
call fcn.004b7f20
cmp dword [ebp - 0xe0], 0xffffffff
je 0x4b036e
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.004f2a78
mov esp, ebp
pop ebp
ret 4