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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4384d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x448678]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
lea esi, [esp + 0x24]
call fcn.004cd280
push 1
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x80], 0
call fcn.004cdc60
mov byte [esp + 0x78], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4d0c38
test ecx, ecx
jge 0x4d0c2b
push 0x80070057
call fcn.004ce480
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x4d0c38
xor bl, bl
jmp 0x4d0c3a
mov bl, 1
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0c5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4d0c73
push 1
push 0x43eb70
lea ecx, [esp + 0x2c]
call fcn.004ce1a0
push 0x43ee9c
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.004cdde0
add esp, 0xc
push 1
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x80], 2
call fcn.004cdc60
mov byte [esp + 0x78], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, 1
jne 0x4d0ccc
test ecx, ecx
jge 0x4d0cbf
push 0x80070057
call fcn.004ce480
movzx eax, word [eax]
cmp ax, 0x5c
jne 0x4d0ccc
xor bl, bl
jmp 0x4d0cce
mov bl, 1
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0cf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4d0d07
push 1
push 0x43eb70
lea ecx, [esp + 0x24]
call fcn.004ce1a0
mov ecx, dword [esp + 0x1c]
call fcn.004cce30
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d0d2a
push 0x80004005
call fcn.004ce480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x78], 4
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d0d59
push 0x80004005
call fcn.004ce480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x78], 5
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d0d88
push 0x80004005
call fcn.004ce480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 6
call fcn.004d33cb
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80], 7
call fcn.004d3469
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x43ee00
call fcn.004ce830
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.004cf6c0
test eax, eax
je 0x4d0f85
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x4d0f85
test ecx, ecx
jl 0x4d107c
cmp ecx, eax
jge 0x4d107c
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + ecx*4]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4d0e63
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4d0e51
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d0e51
push eax
call fcn.004ceac0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d0e48
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x4d0e63
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ce9a0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push 0x43ee00
lea ecx, [esp + 0x44]
push ecx
add eax, 0x78
push eax
call fcn.004cee00
mov byte [esp + 0x78], 8
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4d0eda
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4d0ecc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d0ecc
push eax
call fcn.004ceac0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d0ebf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
jmp 0x4d0eda
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004ce9a0
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0eff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x4d0f6e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004d1e40
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 9
call fcn.004cea40
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0f50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x74]
mov esi, dword [esp + 0x18]
lea edx, [eax + 1]
push esi
push eax
mov dword [ecx + 0x74], edx
call fcn.004cd8a0
add esp, 8
test eax, eax
je 0x4d0fa3
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4d0df7
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d1081
push 0x80004005
call fcn.004ce480
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 6
call fcn.004d359d
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0fd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d0ff7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x78], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d103d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1065
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004d2dab
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 0xa
call fcn.004d33cb
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 0xb
cmp dword [eax + 4], 0
mov edi, dword [eax]
je 0x4d10fc
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4d10d6
cmp dword [esi - 8], 0
jge 0x4d10c8
push 0x80070057
call fcn.004ce480
mov dword [esi - 0xc], 0
mov word [esi], 0
jmp 0x4d10fc
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d10ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x60]
call fcn.004d3469
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.004d3469
lea ecx, [esp + 0x44]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x43eeb0
call fcn.004ce830
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.004cf6c0
test eax, eax
je 0x4d12e5
mov eax, dword [esp + 0x4c]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x20], ecx
jle 0x4d12e5
test ecx, ecx
jl 0x4d107c
cmp ecx, eax
jge 0x4d107c
mov edx, dword [esp + 0x48]
mov ecx, dword [edx + ecx*4]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x4d11be
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4d11ac
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d11ac
push eax
call fcn.004ceac0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d11a3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x4d11ba
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ce9a0
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push 0x43eeb0
lea ecx, [esp + 0x3c]
push ecx
add eax, 0x78
push eax
call fcn.004cee00
mov byte [esp + 0x78], 0xc
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4d1235
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4d1227
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d1227
push eax
call fcn.004ceac0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d121a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x10]
jmp 0x4d1235
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004ce9a0
mov byte [esp + 0x78], 0xb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d125a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x4d12ce
lea ecx, [esp + 0x28]
push ecx
push 0x43eec4
push 0x80000001
call dword [0x439014]
test eax, eax
je 0x4d1292
lea edx, [esp + 0x28]
push edx
push 0x43eec4
push 0x80000001
call dword [0x439024]
test eax, eax
jne 0x4d12ce
mov esi, dword [esp + 0x14]
mov eax, esi
lea edx, [eax + 2]
jmp 0x4d12a0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d12a0
mov ecx, dword [esp + 0x28]
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
push 1
push 0
push ebx
push ecx
call dword [0x439018]
mov edx, dword [esp + 0x28]
push edx
call dword [0x439020]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
add ecx, 1
cmp ecx, eax
mov dword [esp + 0x20], ecx
jl 0x4d1152
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.004d3469
lea eax, [esp + 0x44]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x43eeec
call fcn.004ce830
mov esi, dword [ebp + 8]
add esi, 0x78
push esi
mov dword [esp + 0x38], esi
call fcn.004cf6c0
test eax, eax
je 0x4d15be
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x28], 0
jle 0x4d15be
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x4d107c
cmp eax, ecx
jge 0x4d107c
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + eax*4]
mov ebx, dword [esp + 0x10]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4d13fd
cmp dword [ebx + 0xc], 0
jl 0x4d13ef
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4d13ef
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d1392
cmp eax, dword [esi]
jne 0x4d1392
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4d13cd
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4d1617
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d13e6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x10], edi
jmp 0x4d13fd
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004ce9a0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
push ecx
push 0x43eeec
lea edx, [esp + 0x3c]
push edx
push eax
call fcn.004cee00
mov byte [esp + 0x78], 0xd
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4d14cb
cmp dword [ebx + 0xc], 0
jl 0x4d14bd
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4d14bd
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d1460
cmp eax, dword [esi]
jne 0x4d1460
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4d149b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4d1617
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d14b4
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
jmp 0x4d14cb
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004ce9a0
mov byte [esp + 0x78], 0xb
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d14f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4d15a3
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004d1e40
add esp, 0xc
mov byte [esp + 0x78], 0xe
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4d1571
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4d1563
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4d1563
push eax
call fcn.004ceac0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4d155a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x4d1571
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004ce9a0
mov byte [esp + 0x78], 0xb
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1596
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004ccd70
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4d1334
mov esi, dword [esp + 0x2c]
push 0x43eefc
push 0x43ef08
lea edx, [esp + 0x40]
push edx
push esi
call fcn.004cee00
mov byte [esp + 0x78], 0xf
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d1603
cmp eax, dword [esi]
jne 0x4d1603
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4d163f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x4d161c
call fcn.004ce280
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
add ebx, 0x10
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x78], 0x10
mov eax, dword [esp + 0x38]
mov ecx, dword [eax - 0xc]
mov edi, dword [ebx - 0xc]
mov dword [esp + 0x28], eax
sub eax, ebx
sar eax, 1
mov edx, eax
mov eax, dword [ebx - 8]
lea esi, [edi + ecx]
mov dword [esp + 0x30], ecx
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, esi
or eax, ecx
mov dword [esp + 0x34], edx
jge 0x4d168d
push esi
lea ecx, [esp + 0x30]
call fcn.004ce700
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
cmp edx, edi
ja 0x4d1698
lea ecx, [ebx + edx*2]
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add eax, eax
push eax
push edx
push eax
lea eax, [ebx + edi*2]
push eax
call fcn.004eda7a
add esp, 0x10
test esi, esi
jl 0x4d0c21
cmp esi, dword [ebx - 8]
jg 0x4d0c21
mov dword [ebx - 0xc], esi
mov word [ebx + esi*2], 0
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d16e5
push 0x80004005
call fcn.004ce480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push 0x43ee9c
push 0x43ef20
lea ecx, [esp + 0x28]
push 0x43ef88
push ecx
mov byte [esp + 0x88], 0x11
call fcn.004ce810
mov esi, dword [esp + 0x30]
mov edi, dword [0x439014]
add esp, 0x10
lea edx, [esp + 0x28]
push edx
push esi
push 0x80000002
call edi
test eax, eax
je 0x4d1749
lea eax, [esp + 0x28]
push eax
push esi
push 0x80000002
call dword [0x439024]
test eax, eax
jne 0x4d1783
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4d1750
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push ebx
push 1
push 0
push 0x43ef94
push edx
call dword [0x439018]
mov eax, dword [esp + 0x28]
push eax
call dword [0x439020]
lea ecx, [esp + 0x28]
push ecx
push esi
push 0x80000002
call edi
test eax, eax
je 0x4d17a9
lea edx, [esp + 0x28]
push edx
push esi
push 0x80000002
call dword [0x439024]
test eax, eax
jne 0x4d17cf
mov eax, dword [esp + 0x28]
push 0x12
push 0x43ee9c
push 1
push 0
push 0x43efb4
push eax
call dword [0x439018]
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x439020]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x4c]
call fcn.004d3469
lea edx, [esp + 0x44]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x43efcc
call fcn.004ce830
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
call fcn.004cf6c0
test eax, eax
je 0x4d1b56
mov ecx, dword [esp + 0x4c]
test ecx, ecx
mov dword [esp + 0x28], 0
jle 0x4d1b56
lea ebx, [ebx]
mov eax, dword [esp + 0x28]
test eax, eax
jl 0x4d107c
cmp eax, ecx
jge 0x4d107c
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + eax*4]
mov ebx, dword [esp + 0x10]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4d18e9
cmp dword [ebx + 0xc], 0
jl 0x4d18db
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4d18db
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d187e
cmp eax, dword [esi]
jne 0x4d187e
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4d18b9
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4d1617
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d18d2
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x10], edi
jmp 0x4d18e9
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.004ce9a0
mov ecx, dword [esp + 0x10]
mov edi, dword [ebp + 8]
push ecx
push 0x43efcc
lea edx, [esp + 0x3c]
push edx
lea eax, [edi + 0x78]
push eax
call fcn.004cee00
mov byte [esp + 0x78], 0x12
mov eax, dword [eax]
mov ebx, dword [esp + 0x14]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4d19c0
cmp dword [ebx + 0xc], 0
jl 0x4d19b2
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4d19b2
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d1952
cmp eax, dword [esi]
jne 0x4d1952
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4d198d
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4d1617
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d19a6
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 8]
jmp 0x4d19c0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.004ce9a0
mov byte [esp + 0x78], 0x11
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d19e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x4d1b37
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004d1e40
add esp, 0xc
mov byte [esp + 0x78], 0x13
mov eax, dword [eax]
mov ebx, dword [esp + 0x18]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
je 0x4d1ac6
cmp dword [ebx + 0xc], 0
jl 0x4d1ab8
mov ecx, dword [esi]
cmp ecx, dword [ebx]
jne 0x4d1ab8
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4d1a58
cmp eax, dword [esi]
jne 0x4d1a58
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4d1a93
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4d1617
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.004eda7a
add esp, 0x10
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4d1aac
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0x10
mov dword [esp + 0x18], edi
mov edi, dword [ebp + 8]
jmp 0x4d1ac6
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004ce9a0
mov byte [esp + 0x78], 0x11
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1aeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 1
push 0xa
push 0xa
push 0
push 0
mov ecx, edi
call fcn.004dd261
cmp dword [edi + 0x20], 0
mov dword [edi + 0x80], 1
je 0x4d1b15
push 5
mov ecx, edi
call fcn.004dd29f
mov ecx, dword [esp + 0x18]
call fcn.004cd640
cmp dword [edi + 0x20], 0
mov dword [edi + 0x80], 0
je 0x4d1b37
push 0
mov ecx, edi
call fcn.004dd29f
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x4c]
add eax, 1
cmp eax, ecx
mov dword [esp + 0x28], eax
jl 0x4d1820
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
call fcn.004d300d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4d1b70
push 0x80004005
call fcn.004ce480
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, 0x43efd4
lea edi, [esp + 0x34]
mov byte [esp + 0x78], 0x14
call fcn.004ccc00
mov ecx, 0x43efe4
lea edi, [esp + 0x30]
mov byte [esp + 0x78], 0x15
call fcn.004ccc00
lea ecx, [esp + 0x40]
mov byte [esp + 0x78], 0x16
call fcn.004cd310
mov byte [esp + 0x78], 0x17
mov ecx, dword [eax]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push 0x43eff0
push ecx
call fcn.004ce810
mov byte [esp + 0x8c], 0x16
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d1c00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push 0
push 0
push 0x43eb74
call dword [0x439548]
mov edi, eax
test edi, edi
je 0x4d1c4b
mov ecx, dword [esp + 0x28]
push 0
push 0x80000000
push 0
push 0
push ecx
push edi
call dword [0x439544]
test eax, eax
mov esi, dword [0x439540]
je 0x4d1c3d
push eax
call esi
push edi
call esi
mov esi, dword [esp + 0x20]
mov edi, 1
jmp 0x4d1c4d
xor edi, edi
mov byte [esp + 0x78], 0x15
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4d1c72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0x14
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1c97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0x11
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1cbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x78], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1cdd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov byte [esp + 0x78], 0xf
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1cfe
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov byte [esp + 0x78], 0xb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1d23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x78], 0xa
call fcn.004d359d
mov byte [esp + 0x78], 7
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1d56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x78], 6
call fcn.004d359d
mov byte [esp + 0x78], 5
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1d89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1dae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1dd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x78], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1df8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4d1e20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4