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

Disassembly:
push 0xffffffffffffffff
push 0x52b8d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, ecx
lea esi, [edi + 0xc]
mov dword [esp + 0x38], ebp
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b10e1
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b10e1
cmp eax, 0x10002
mov dword [esp + 0x18], 0
jne 0x4b10e9
mov dword [esp + 0x18], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b30e1
mov ecx, edi
call fcn.004d3910
test eax, eax
je 0x4b113e
push 1
push edi
push 0
mov ecx, ebp
call fcn.004aa8b0
push edi
mov ecx, ebp
call fcn.004c5630
push 1
push 2
push 0x20005
mov ecx, edi
call fcn.004d1ed0
neg eax
sbb eax, eax
and eax, 0xfffe1ffd
add eax, 0x30004
jmp 0x4b3162
lea eax, [esi + 8]
push eax
call ebx
mov ecx, dword [edi + 0x21c]
mov edx, dword [esi]
mov dword [esp + 0x50], ecx
mov ecx, esi
call dword [edx + 0x14]
mov ecx, 0x571fb8
mov dword [esp + 0x30], 0
call fcn.00482f70
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
push 1
lea eax, [esp + 0x38]
push 1
push eax
push edi
mov ecx, ebp
call fcn.004ae770
mov ecx, eax
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x4b3162
mov eax, dword [esp + 0x50]
and eax, 0xfff
cmp eax, 0x16
mov dword [esp + 0x4c], eax
jne 0x4b11d5
push 1
lea edx, [esp + 0x28]
push 0
push edx
push edi
mov ecx, ebp
call fcn.004ae770
mov ecx, eax
and ecx, 0xffff0000
cmp ecx, 0x10000
jne 0x4b3162
lea edx, [esp + 0x20]
mov ecx, edi
push edx
call fcn.004a5480
mov eax, dword [0x569c90]
mov dword [esp + 0x234], 0
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov byte [esp + 0x23c], 1
call fcn.004dedd0
push eax
push ecx
mov eax, esp
mov dword [esp + 0x4c], esp
push eax
mov ecx, edi
call fcn.004a5480
call fcn.0040e680
add esp, 0x10
lea ecx, [esi + 8]
push ecx
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x1d0]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b125c
push 1
push 1
push 0x1431
mov ecx, edi
call fcn.004d2030
mov dword [esp + 0x30], 4
jmp 0x4b1ebe
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x1c0]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b1919
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x21c]
mov ecx, esi
call dword [edx + 0x14]
cmp ebp, 0x20002
jne 0x4b1919
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004a01d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 2
push ecx
mov ecx, edi
mov dword [esp + 0x38], 0xffffffff
call fcn.004a5480
mov eax, dword [eax]
push 0x56e1f4
push eax
mov byte [esp + 0x23c], 3
call fcn.004f27d5
add esp, 8
test eax, eax
je 0x4b1313
lea edx, [esp + 0x18]
mov ecx, edi
push edx
call fcn.004a5480
mov eax, dword [eax]
push 0x55cfa0
push eax
call fcn.004f27d5
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setne byte [esp + 0x17]
call fcn.00507d3a
mov al, byte [esp + 0x17]
mov byte [esp + 0x17], 1
test al, al
jne 0x4b1318
mov byte [esp + 0x17], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 2
call fcn.00507d3a
mov al, byte [esp + 0x17]
test al, al
je 0x4b1365
mov eax, dword [esp + 0x28]
push eax
call fcn.00422860
add esp, 4
test eax, eax
je 0x4b134c
mov dword [esp + 0x34], 0
jmp 0x4b1365
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00422830
add esp, 4
test eax, eax
je 0x4b1365
mov dword [esp + 0x34], 3
lea edx, [esi + 8]
push edx
call ebx
mov ebp, dword [edi + 0x1b8]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x1c], ebp
call dword [eax + 0x14]
cmp ebp, 1
je 0x4b138a
cmp ebp, 2
jne 0x4b14fa
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004a01d0
mov edx, dword [0x569c90]
mov dword [esp + 0x24], edx
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 5
call fcn.00505134
test eax, eax
jl 0x4b1424
lea ebp, [eax + 1]
lea eax, [esp + 0x18]
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x238], 6
call fcn.00507e73
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 5
call fcn.00507d3a
lea ecx, [esp + 0x18]
push ebp
push ecx
lea ecx, [esp + 0x18]
call fcn.00505091
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 7
call fcn.00507e73
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 5
call fcn.00507d3a
mov ebp, dword [esp + 0x1c]
jmp 0x4b143b
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
call fcn.00507e73
lea ecx, [esp + 0x10]
call fcn.00507cc5
cmp ebp, 1
lea ecx, [esp + 0x24]
jne 0x4b144b
call fcn.0050826e
jmp 0x4b1450
call fcn.0050825c
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
call fcn.00508152
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.004a01d0
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
push edx
push eax
call fcn.004f27d5
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne byte [esp + 0x17]
call fcn.00507d3a
mov al, byte [esp + 0x17]
test al, al
je 0x4b14d8
mov eax, dword [esp + 0x10]
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], esi
call ebx
mov edx, dword [esp + 0x1c]
lea ecx, [edi + 0x20c]
push edx
mov byte [esp + 0x238], 8
call fcn.00507ec3
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x234], 5
call dword [eax + 0x14]
push 0
push 0
push 4
mov ecx, edi
call fcn.004d1c70
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 4
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 2
call fcn.00507d3a
cmp dword [esp + 0x34], 0xffffffff
je 0x4b1ead
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + 0x3c]
mov dword [esp + 0x24], ebp
lea edx, [ebp + 8]
push edx
call ebx
lea eax, [esi + 8]
mov byte [esp + 0x234], 9
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b154a
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b154a
cmp eax, 0x10002
mov dword [esp + 0x18], 0
jne 0x4b1552
mov dword [esp + 0x18], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1587
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 2
call dword [eax + 0x14]
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
jmp 0x4b30bc
mov ecx, dword [esp + 0x38]
push edi
call fcn.004a4230
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b159d
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4b15c3
push 1
push 1
push 0x1431
mov ecx, edi
call fcn.004d2030
mov dword [esp + 0x30], 4
jmp 0x4b1770
cmp eax, 2
jne 0x4b15e5
push 1
push 1
push 0x1434
mov ecx, edi
call fcn.004d2030
mov dword [esp + 0x30], 0
jmp 0x4b1770
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + 0xc]
lea edx, [ebp + 8]
push edx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b15a6
lea eax, [ebp + 8]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
mov edx, dword [ecx + 0x1d0]
mov ecx, ebp
mov dword [esp + 0x1c], edx
call dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
push 1
cmp eax, 1
mov ecx, edi
push 1
jne 0x4b1652
push 0x1435
call fcn.004d2030
mov dword [esp + 0x30], 1
jmp 0x4b1770
push 0x1432
call fcn.004d2030
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x1c]
push 1
push ecx
push 0
push edx
push ecx
mov ebx, esp
mov dword [esp + 0x54], esp
push 0x5c
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
mov dword [esp + 0x3c], 0
call fcn.00507aaf
push ebx
call fcn.00423e60
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push edi
call fcn.004acc90
mov ecx, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
je 0x4b16ec
test eax, eax
je 0x4b1716
lea ecx, [ebp + 8]
mov dword [esp + 0x30], 4
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov dword [edx + 0x1d0], 0
mov eax, dword [ebp]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004b0f60
jmp 0x4b1770
test eax, eax
je 0x4b174c
lea edx, [ebp + 8]
mov dword [esp + 0x30], 3
push edx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [eax + 0x1d0], 4
mov edx, dword [ebp]
call dword [edx + 0x14]
jmp 0x4b1770
lea eax, [ebp + 8]
mov dword [esp + 0x30], 1
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1d0], 1
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push 1
push eax
call fcn.004b0f60
jmp 0x4b1770
lea ecx, [ebp + 8]
mov dword [esp + 0x30], 2
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov dword [edx + 0x1d0], 4
mov eax, dword [ebp]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x234], 2
mov edx, dword [ecx]
call dword [edx + 0x14]
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b17a9
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b17a9
cmp eax, 0x10002
je 0x4b17a9
xor ebp, ebp
jmp 0x4b17ae
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
je 0x4b17cf
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
jmp 0x4b30bc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b17f6
cmp eax, 3
je 0x4b17f6
cmp eax, 4
je 0x4b17f6
push 1
push 1
push 0x146e
mov ecx, edi
call fcn.004d2030
jmp 0x4b1e25
cmp dword [esp + 0x34], 3
jne 0x4b1ead
mov eax, dword [0x569c90]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0xa
push ecx
mov ecx, edi
call fcn.004a01d0
mov edx, dword [eax]
lea eax, [esp + 0x24]
push edx
push 0xe1bb
push eax
mov byte [esp + 0x240], 0xb
call fcn.005054ef
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0xa
call fcn.00507d3a
mov ecx, dword [esp + 0x24]
push 1
push 1
push ecx
mov ecx, edi
call fcn.004d2190
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.004a01d0
mov eax, dword [eax]
mov byte [esp + 0x234], 0xc
push eax
call fcn.00422fd0
add esp, 4
lea ecx, [esp + 0x1c]
mov ebp, eax
mov byte [esp + 0x234], 0xa
call fcn.00507d3a
test ebp, ebp
jne 0x4b1903
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call fcn.004a01d0
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push ecx
push 0xe1b3
push edx
mov byte [esp + 0x240], 0xd
call fcn.005054ef
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0xa
call fcn.00507d3a
mov eax, dword [esp + 0x24]
push 1
push 2
push eax
mov ecx, edi
call fcn.004d2190
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 2
call fcn.00507d3a
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
jmp 0x4b2161
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 2
call fcn.00507d3a
jmp 0x4b1ead
lea ecx, [esi + 8]
push ecx
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x1c0]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b1ebe
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x21c]
mov ecx, esi
call dword [edx + 0x14]
cmp ebp, 0x20003
jne 0x4b1ebe
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x1b8]
mov ecx, esi
call dword [edx + 0x14]
cmp ebp, 1
je 0x4b1b0d
cmp ebp, 2
jne 0x4b1a73
lea ecx, [esp + 0x20]
call fcn.0050825c
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0xb8]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x7c]
push eax
push ebp
call fcn.0040dc00
push 1
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x240], 0xe
call fcn.00507aaf
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x84]
push eax
call fcn.0040dde0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0xf
push ecx
mov ecx, edi
call fcn.004a5480
mov edx, dword [esp + 0x24]
mov eax, dword [eax]
push edx
push eax
call fcn.004f27d5
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne byte [esp + 0x17]
call fcn.00507d3a
mov al, byte [esp + 0x17]
test al, al
je 0x4b1a51
mov eax, dword [esp + 0x24]
lea ecx, [esi + 8]
push ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x40], esi
call ebx
mov edx, dword [esp + 0x1c]
lea ecx, [edi + 0x210]
push edx
mov byte [esp + 0x238], 0x10
call fcn.00507ec3
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x234], 0xf
call dword [eax + 0x14]
push 0
push 0
push 4
mov ecx, edi
call fcn.004d1c70
lea ecx, [esp + 0x24]
mov byte [esp + 0x234], 0xe
call fcn.00507d3a
lea ecx, [esp + 0x7c]
mov byte [esp + 0x234], 1
call fcn.00507d3a
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004a5480
lea ecx, [esp + 0x108]
mov byte [esp + 0x234], 0x11
call fcn.0040d100
mov ecx, dword [esp + 0x34]
push 1
mov byte [esp + 0x238], 0x12
call fcn.004e2c20
mov ecx, dword [esp + 0x38]
push 0
lea edx, [esp + 0x10c]
push 1
push edx
push edi
call fcn.004b9f30
mov ecx, dword [esp + 0x34]
push 2
mov ebp, eax
call fcn.004e2c20
cmp ebp, 0x30007
je 0x4b1e99
mov eax, ebp
and eax, 0xffff0000
cmp eax, 0x10000
je 0x4b1b1b
lea ecx, [esp + 0x108]
mov byte [esp + 0x234], 0x11
call fcn.0040d280
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
jmp 0x4b2c06
lea ecx, [esp + 0x20]
call fcn.0050826e
jmp 0x4b1981
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + 0x3c]
mov dword [esp + 0x24], ebp
lea edx, [ebp + 8]
push edx
call ebx
lea eax, [esi + 8]
mov byte [esp + 0x234], 0x13
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b1b60
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b1b60
cmp eax, 0x10002
mov dword [esp + 0x18], 0
jne 0x4b1b68
mov dword [esp + 0x18], 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4b1bb1
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x12
call dword [eax + 0x14]
lea ecx, [esp + 0x108]
mov byte [esp + 0x234], 0x11
call fcn.0040d280
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
jmp 0x4b30bc
mov ecx, dword [esp + 0x38]
push edi
call fcn.004a4230
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b1bc7
mov dword [esp + 0x10], edi
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4b1bed
push 1
push 1
push 0x1431
mov ecx, edi
call fcn.004d2030
mov dword [esp + 0x30], 4
jmp 0x4b1da2
cmp eax, 2
jne 0x4b1c0f
push 1
push 1
push 0x1434
mov ecx, edi
call fcn.004d2030
mov dword [esp + 0x30], 0
jmp 0x4b1da2
mov ecx, dword [esp + 0x10]
lea ebp, [ecx + 0xc]
lea edx, [ebp + 8]
push edx
call ebx
mov eax, dword [esp + 0x10]
mov edx, dword [ebp]
mov ecx, dword [eax + 0x1d0]
mov dword [esp + 0x1c], ecx
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b1bd0
lea eax, [ebp + 8]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp]
mov edx, dword [ecx + 0x1d0]
mov ecx, ebp
mov dword [esp + 0x1c], edx
call dword [eax + 0x14]
mov eax, dword [esp + 0x1c]
push 1
cmp eax, 1
mov ecx, edi
push 1
jne 0x4b1c7c
push 0x1435
call fcn.004d2030
mov dword [esp + 0x30], 1
jmp 0x4b1da2
push 0x1434
call fcn.004d2030
push 0
lea ecx, [esp + 0x48]
push 1
push ecx
push 1
lea ecx, [esp + 0x118]
mov dword [esp + 0x54], 0
call fcn.004ae730
push eax
push ecx
mov ebx, esp
mov dword [esp + 0x54], esp
push 0x2f
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call fcn.00507aaf
push ebx
call fcn.00423e60
mov ecx, dword [esp + 0x5c]
add esp, 0xc
push edi
call fcn.004acc90
mov ecx, dword [esp + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
je 0x4b1d1e
test eax, eax
je 0x4b1d48
lea eax, [ebp + 8]
mov dword [esp + 0x30], 4
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x1d0], 0
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
push 0
push eax
call fcn.004b0f60
jmp 0x4b1da2
test eax, eax
je 0x4b1d7e
lea ecx, [ebp + 8]
mov dword [esp + 0x30], 3
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov dword [edx + 0x1d0], 4
mov eax, dword [ebp]
call dword [eax + 0x14]
jmp 0x4b1da2
lea ecx, [ebp + 8]
mov dword [esp + 0x30], 1
push ecx
call ebx
mov edx, dword [esp + 0x10]
mov ecx, ebp
mov dword [edx + 0x1d0], 1
mov eax, dword [ebp]
call dword [eax + 0x14]
mov ecx, dword [esp + 0x10]
push 1
push ecx
mov ecx, dword [esp + 0x40]
call fcn.004b0f60
jmp 0x4b1da2
lea edx, [ebp + 8]
mov dword [esp + 0x30], 2
push edx
call ebx
mov eax, dword [esp + 0x10]
mov ecx, ebp
mov dword [eax + 0x1d0], 4
mov edx, dword [ebp]
call dword [edx + 0x14]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x234], 0x12
mov eax, dword [ecx]
call dword [eax + 0x14]
lea ecx, [esi + 8]
push ecx
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b1ddb
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b1ddb
cmp eax, 0x10002
je 0x4b1ddb
xor ebp, ebp
jmp 0x4b1de0
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b1b87
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4b1e65
cmp eax, 3
je 0x4b1e65
cmp eax, 4
je 0x4b1e65
push 1
push 1
push 0x146e
mov ecx, edi
call fcn.004d2030
lea ecx, [esp + 0x108]
mov byte [esp + 0x234], 0x11
call fcn.0040d280
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, 0x20001
jmp 0x4b3162
cmp dword [esp + 0x120], 3
jne 0x4b1e99
push ecx
mov ecx, edi
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004a5480
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
call dword [edx + 0x40]
mov ebp, eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4b1ae3
lea ecx, [esp + 0x108]
mov byte [esp + 0x234], 0x11
call fcn.0040d280
lea ecx, [esp + 0x28]
mov byte [esp + 0x234], 1
call fcn.00507d3a
lea ecx, [esi + 8]
push ecx
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b1ee6
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b1ee6
cmp eax, 0x10002
je 0x4b1ee6
xor ebp, ebp
jmp 0x4b1eeb
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b30bc
lea eax, [esi + 8]
mov dword [esp + 0x3c], esi
push eax
call ebx
mov ecx, dword [edi + 0x208]
push ebp
push ebp
push ecx
mov byte [esp + 0x240], 0x14
call fcn.004cf7c0
mov dword [edi + 0x208], eax
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x234], 1
call dword [edx + 0x14]
mov ebp, dword [esp + 0x38]
push edi
mov ecx, ebp
call fcn.004b0200
mov dword [esp + 0x28], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4b2773
push edi
mov ecx, ebp
call fcn.004b0470
mov dword [esp + 0x28], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4b2773
lea ecx, [esp + 0x138]
call fcn.0040c600
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b30
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x234], 0x16
cmp eax, 0x16
jne 0x4b20b5
push 1
lea eax, [esp + 0x88]
push 0
push eax
push edi
mov ecx, ebp
call fcn.004af370
mov dword [esp + 0x28], eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4b274b
push 1
lea edx, [esp + 0x88]
push 1
push edx
push edi
mov ecx, ebp
call fcn.004af370
mov ebp, eax
and eax, 0xffff0000
cmp eax, 0x10000
jne 0x4b2bde
lea ecx, [esi + 8]
push ecx
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0xb8]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b2021
push ecx
mov ecx, edi
mov eax, esp
mov dword [esp + 0x40], esp
push eax
call fcn.004a5480
call fcn.0040ecf0
add esp, 4
mov ebp, eax
lea ecx, [esp + 0x9c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00507aaf
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x19
call fcn.0050826e
cmp ebp, 3
jne 0x4b21e5
push str.vv.mm
lea ecx, [esp + 0x44]
call fcn.00505156
test eax, eax
jl 0x4b21e5
lea ecx, [esp + 0x84]
mov dword [esp + 0x34], 0
call fcn.0040cb60
test eax, eax
jle 0x4b21e5
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b2190
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b2190
cmp eax, 0x10002
je 0x4b2190
xor ebp, ebp
jmp 0x4b2195
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ecx
mov ecx, edi
call fcn.004a01d0
lea ecx, [esp + 0x13c]
call fcn.0040cb70
test eax, eax
jne 0x4b1fcb
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.004a01d0
mov eax, dword [eax]
lea ecx, [esp + 0x4c]
push eax
mov bl, 0x17
push 0x14d0
push ecx
mov byte [esp + 0x240], bl
call fcn.0048e080
add esp, 0xc
mov eax, dword [eax]
push 1
push 2
push eax
mov ecx, edi
mov byte [esp + 0x240], 0x18
call fcn.004d2190
lea ecx, [esp + 0x4c]
mov byte [esp + 0x234], bl
call fcn.00507d3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, 0x30003
jmp 0x4b3162
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b21e5
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x84]
push eax
call fcn.0040cb50
lea ebp, [eax + 4]
push 0x28
push 0
mov ecx, ebp
call fcn.00504c32
push 0x29
mov ecx, ebp
call fcn.0050813d
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x84]
inc ebp
mov dword [esp + 0x34], ebp
call fcn.0040cb60
cmp ebp, eax
jl 0x4b207e
lea ecx, [esi + 8]
push ecx
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b220d
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b220d
cmp eax, 0x10002
je 0x4b220d
xor ebp, ebp
jmp 0x4b2212
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b3083
xor eax, eax
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x68], 0x53724c
mov dword [esp + 0x6c], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], eax
lea eax, [esi + 8]
mov byte [esp + 0x234], 0x1a
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x21c]
mov ecx, esi
call dword [edx + 0x14]
cmp ebp, 0x20002
je 0x4b2285
lea eax, [esi + 8]
push eax
call ebx
mov edx, dword [esi]
mov ebp, dword [edi + 0x21c]
mov ecx, esi
call dword [edx + 0x14]
cmp ebp, 0x20014
jne 0x4b26ba
lea ecx, [esp + 0x84]
mov dword [esp + 0x18], 0
call fcn.0040cb60
test eax, eax
jle 0x4b26ba
lea ebp, [edi + 0xc]
lea eax, [ebp + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b22cc
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b22cc
cmp eax, 0x10002
je 0x4b22cc
xor esi, esi
jmp 0x4b22d1
mov esi, 1
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
test esi, esi
jne 0x4b26ba
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x84]
push eax
call fcn.0040cb50
mov esi, eax
xor eax, eax
mov dword [esp + 0x54], 0x537264
mov dword [esp + 0x58], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x234], 0x1b
push ecx
push esi
lea ecx, [esp + 0x8c]
call fcn.0040c7c0
mov edx, dword [esp + 0x50]
mov ecx, edi
push edx
push esi
call fcn.004d1a60
test eax, eax
je 0x4b267c
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x4b267c
lea eax, [ebp + 8]
push eax
call ebx
mov edx, dword [ebp]
mov esi, dword [edi + 0x1c8]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, esi
dec eax
je 0x4b245d
dec eax
mov eax, dword [esp + 0x5c]
je 0x4b2399
xor esi, esi
test eax, eax
jle 0x4b267c
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x84]
mov eax, dword [eax + esi*4]
push eax
call fcn.0040c730
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, eax
jl 0x4b2377
jmp 0x4b267c
xor ebp, ebp
test eax, eax
jle 0x4b267c
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x68]
push edx
mov ebx, dword [ecx + ebp*4]
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push ebx
push 0
push edi
call fcn.004ad0b0
mov esi, eax
mov dword [esp + 0x28], eax
sar esi, 0x10
cmp esi, 3
je 0x4b26f4
push ebx
lea ecx, [esp + 0x88]
call fcn.0040c730
mov eax, dword [esp + 0x5c]
sub eax, ebp
dec eax
je 0x4b240c
shl eax, 2
push eax
mov eax, dword [esp + 0x5c]
lea ecx, [eax + ebp*4 + 4]
lea edx, [eax + ebp*4]
push ecx
push edx
call fcn.004f2dd0
add esp, 0xc
mov edx, dword [esp + 0x5c]
dec edx
dec ebp
cmp esi, 1
mov dword [esp + 0x5c], edx
jne 0x4b2445
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ebx, dword [eax + ecx*4 - 4]
lea esi, [ebx + 0xc]
lea edx, [esi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebx + 0x1d0], 3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esp + 0x5c]
inc ebp
cmp ebp, eax
jl 0x4b23a3
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x4b267c
mov eax, dword [esp + 0x5c]
or ebp, 0xffffffff
test eax, eax
mov dword [esp + 0x34], 0
jle 0x4b267c
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x58]
cmp ebp, 0x4000
mov esi, dword [edx + ecx*4]
jge 0x4b2667
mov eax, dword [esi + 4]
inc ebp
push ebp
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0049a420
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 0x1c
call fcn.004f27d5
add esp, 0x14
test eax, eax
je 0x4b24d9
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
call fcn.00507aaf
lea ecx, [esp + 0x88]
call fcn.0040c960
test eax, eax
je 0x4b24fb
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0x1b
call fcn.00507d3a
cmp ebp, 0x4000
jl 0x4b248b
mov dword [esp + 0x28], ebp
jmp 0x4b2667
push 1
push ecx
lea eax, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov dword [esp + 0x34], ebp
call fcn.00507aaf
lea ecx, [esp + 0x140]
call fcn.0040caa0
test eax, eax
je 0x4b252b
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x50]
push edx
push eax
push esi
push 0
push edi
call fcn.004ad0b0
mov ebx, eax
mov ebp, ebx
sar ebp, 0x10
cmp ebp, 3
je 0x4b27a1
push esi
lea ecx, [esp + 0x88]
call fcn.0040c730
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
sub eax, esi
dec eax
je 0x4b2593
lea ecx, [eax*4]
mov eax, dword [esp + 0x58]
push ecx
lea edx, [eax + esi*4 + 4]
lea eax, [eax + esi*4]
push edx
push eax
call fcn.004f2dd0
add esp, 0xc
mov edx, dword [esp + 0x5c]
dec edx
dec esi
cmp ebp, 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], esi
jne 0x4b264c
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x1c]
mov esi, dword [ecx + edx*4 - 4]
push eax
mov ecx, esi
call fcn.004a01d0
mov ecx, dword [esp + 0x28]
mov eax, dword [eax]
push ecx
lea edx, [esp + 0x50]
push eax
push edx
mov byte [esp + 0x240], 0x1d
call fcn.0049a420
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 0x1e
call fcn.00507e73
lea ecx, [esp + 0x4c]
mov byte [esp + 0x234], 0x1d
call fcn.00507d3a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x234], 0x1c
call fcn.00507d3a
mov ebx, dword [esp + 0x10]
lea ebp, [esi + 0xc]
mov dword [esp + 0x3c], ebp
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
lea ecx, [esi + 0x20c]
mov byte [esp + 0x238], 0x1f
call fcn.00507ec3
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x1c
call dword [edx + 0x14]
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0x1b
call fcn.00507d3a
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jl 0x4b2474
mov eax, dword [esp + 0x58]
mov byte [esp + 0x234], 0x1a
test eax, eax
mov dword [esp + 0x54], 0x537264
je 0x4b269d
push eax
call fcn.0050c4cc
add esp, 4
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x84]
inc esi
mov dword [esp + 0x18], esi
call fcn.0040cb60
cmp esi, eax
jl 0x4b22a1
lea esi, [edi + 0xc]
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b285d
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b285d
cmp eax, 0x10002
je 0x4b285d
xor ebp, ebp
jmp 0x4b2862
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
xor esi, esi
test ebx, ebx
jle 0x4b2714
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4b270f
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, ebx
jl 0x4b2702
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0x537264
test eax, eax
je 0x4b272d
push eax
call fcn.0050c4cc
add esp, 4
test edi, edi
je 0x4b273a
push edi
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, dword [esp + 0x28]
jmp 0x4b3162
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
xor esi, esi
test ebp, ebp
jle 0x4b27c1
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4b27bc
mov edx, dword [ecx]
push 1
call dword [edx]
inc esi
cmp esi, ebp
jl 0x4b27af
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0x1b
call fcn.00507d3a
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], 0x537264
test eax, eax
je 0x4b27eb
push eax
call fcn.0050c4cc
add esp, 4
test edi, edi
je 0x4b27f8
push edi
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, ebx
jmp 0x4b3162
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b3072
lea ecx, [esp + 0x138]
mov dword [esp + 0x18], ebp
call fcn.0040cb60
test eax, eax
jle 0x4b29cb
lea esi, [edi + 0xc]
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b28b4
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b28b4
cmp eax, 0x10002
je 0x4b28b4
xor ebp, ebp
jmp 0x4b28b9
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b29cb
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x138]
push eax
call fcn.0040cb50
mov ecx, dword [esp + 0x50]
mov ebp, eax
push ecx
push ebp
mov ecx, edi
call fcn.004d1a60
test eax, eax
je 0x4b29ae
push 0
push ecx
lea eax, [ebp + 4]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00507aaf
lea ecx, [esp + 0x8c]
call fcn.0040caa0
mov esi, eax
test esi, esi
jne 0x4b2934
push 1
push ecx
lea eax, [ebp + 4]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00507aaf
lea ecx, [esp + 0x8c]
call fcn.0040caa0
mov esi, eax
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x28]
push eax
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push esi
push ebp
push edi
call fcn.004ad0b0
mov ebp, eax
and eax, 0xffff0000
cmp eax, 0x30000
je 0x4b2a12
test esi, esi
je 0x4b2973
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
lea esi, [edi + 0xc]
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b299e
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b299e
cmp eax, 0x10002
je 0x4b299e
xor ebp, ebp
jmp 0x4b29a3
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b29cb
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x138]
inc esi
mov dword [esp + 0x18], esi
call fcn.0040cb60
cmp esi, eax
jl 0x4b2889
lea ecx, [esp + 0x84]
mov dword [esp + 0x18], 0
call fcn.0040cb60
test eax, eax
jle 0x4b2b4a
lea esi, [edi + 0xc]
lea ecx, [esi + 8]
push ecx
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b2a3b
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b2a3b
cmp eax, 0x10002
je 0x4b2a3b
xor ebp, ebp
jmp 0x4b2a40
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
xor esi, esi
test ebx, ebx
jle 0x4b2bc0
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4b2a31
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, ebx
jl 0x4b2a24
jmp 0x4b2bc0
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b2b4a
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x84]
push eax
call fcn.0040cb50
mov ecx, dword [esp + 0x50]
mov ebp, eax
push ecx
push ebp
mov ecx, edi
call fcn.004d1a60
test eax, eax
je 0x4b2b2d
lea edx, [esi + 8]
push edx
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b2aa3
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b2aa3
cmp eax, 0x10002
mov dword [esp + 0x44], 0
jne 0x4b2aab
mov dword [esp + 0x44], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4b3072
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x68]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x50]
push eax
push ecx
mov ecx, dword [esp + 0x48]
push ebp
push 0
push edi
call fcn.004ad0b0
mov ebp, eax
mov edx, ebp
and edx, 0xffff0000
cmp edx, 0x30000
je 0x4b2ba0
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b2b1d
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b2b1d
cmp eax, 0x10002
je 0x4b2b1d
xor ebp, ebp
jmp 0x4b2b22
mov ebp, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebp, ebp
jne 0x4b2b4a
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x84]
inc esi
mov dword [esp + 0x18], esi
call fcn.0040cb60
cmp esi, eax
jl 0x4b29e7
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + 0x9c]
mov dword [esp + 0x50], ebp
lea edx, [ebp + 8]
push edx
call ebx
lea esi, [edi + 0xc]
mov byte [esp + 0x234], 0x20
lea eax, [esi + 8]
push eax
call ebx
mov eax, dword [edi + 0x394]
test eax, eax
jne 0x4b2c32
mov eax, dword [edi + 0x248]
cmp eax, 0x20003
je 0x4b2c32
cmp eax, 0x10002
je 0x4b2c32
xor ebx, ebx
jmp 0x4b2c37
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
xor esi, esi
test ebx, ebx
jle 0x4b2bc0
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4b2bbb
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, ebx
jl 0x4b2bae
test edi, edi
je 0x4b2bcd
push edi
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, ebp
jmp 0x4b3162
mov ebx, 1
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test ebx, ebx
je 0x4b2c80
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
xor esi, esi
test ebx, ebx
jle 0x4b2c62
mov ecx, dword [edi + esi*4]
test ecx, ecx
je 0x4b2c5d
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, ebx
jl 0x4b2c50
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x1a
call dword [edx + 0x14]
test edi, edi
je 0x4b3083
push edi
jmp 0x4b307b
lea eax, [esp + 0x1b8]
mov ecx, edi
push eax
call fcn.004b3180
mov ecx, dword [esp + 0x70]
xor eax, eax
test ecx, ecx
mov byte [esp + 0x234], 0x21
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], eax
jle 0x4b2f32
add esi, 8
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov esi, dword [ecx + eax*4]
mov eax, dword [edx + 0x26c]
lea ebp, [esi + 0xc]
lea ebx, [eax + 1]
lea eax, [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x308], ebx
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esp + 0x38]
lea ecx, [eax + 0x250]
mov eax, dword [eax + 0x26c]
cmp ebx, eax
jbe 0x4b2cfa
mov dword [ecx + 0x1c], ebx
push ebx
call fcn.004cff70
mov ecx, dword [esp + 0x4c]
mov dword [eax], esi
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x308]
mov eax, dword [edi + 0xc]
lea ecx, [edi + 0xc]
mov dword [esp + 0x1c], edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004d38b0
push 0
push 0x10001
mov ecx, esi
call fcn.004d1dc0
push ebx
mov ecx, edi
call fcn.004d3a70
lea ecx, [esp + 0x1cc]
call fcn.00405ac0
lea edx, [ebp + 8]
mov dword [esp + 0x1c], ebp
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x248]
lea ecx, [esp + 0x1cc]
push eax
mov byte [esp + 0x238], 0x22
call fcn.00405b50
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x21
call dword [eax + 0x14]
lea ecx, [ebp + 8]
mov dword [esp + 0x1c], ebp
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x248]
lea ecx, [esi + 0x2a8]
push eax
mov byte [esp + 0x238], 0x23
call fcn.00405b50
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x21
call dword [edx + 0x14]
lea eax, [esp + 0x1cc]
mov ecx, edi
push eax
call fcn.004a5500
lea ecx, [esp + 0x1b8]
push ecx
lea ecx, [esp + 0x58]
call fcn.00462c00
lea edx, [ebp + 8]
mov dword [esp + 0x1c], ebp
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x54]
lea ecx, [esi + 0x368]
push eax
mov byte [esp + 0x238], 0x25
call fcn.00462c30
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x24
call dword [edx + 0x14]
mov ebp, dword [esp + 0x48]
mov ecx, esi
mov byte [esp + 0x234], 0x21
mov ebx, dword [ebp + 0x3c8]
call fcn.004a83d0
mov dword [esi + 0x3c8], ebx
mov eax, dword [ebp + 0x3bc]
mov dword [esi + 0x3c0], ebp
mov dword [esi + 0x3bc], eax
mov dword [ebp + 0x3bc], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
je 0x4b2e5c
mov dword [eax + 0x3c0], esi
mov eax, dword [esi + 0x3bc]
test eax, eax
jne 0x4b2e6d
mov dword [ebx*4 + 0x572b0c], esi
mov ecx, 0x571fb8
mov dword [esp + 0x48], esi
call fcn.00481cb0
test al, 1
je 0x4b2f19
mov ecx, dword [0x569c90]
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
mov byte [esp + 0x238], 0x26
call fcn.004a01d0
mov eax, dword [eax]
mov bl, 0x27
push eax
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0x23c], bl
call fcn.004243b0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push ecx
push 0x156b
push edx
mov byte [esp + 0x248], 0x28
call fcn.005054ef
add esp, 0x14
lea ecx, [esp + 0x7c]
mov byte [esp + 0x234], bl
call fcn.00507d3a
lea ecx, [esp + 0x3c]
mov byte [esp + 0x234], 0x26
call fcn.00507d3a
mov eax, dword [esp + 0x18]
push 1
push 1
push eax
mov ecx, edi
call fcn.004d2190
lea ecx, [esp + 0x18]
mov byte [esp + 0x234], 0x21
call fcn.00507d3a
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x70]
inc eax
cmp eax, ecx
mov dword [esp + 0x44], eax
jl 0x4b2cb4
mov ebp, dword [esp + 0x50]
mov ecx, edi
call fcn.004d3910
test eax, eax
je 0x4b2f54
mov ecx, dword [esp + 0x48]
push 0
mov dword [edi + 0x3c4], ecx
push 0
push 8
mov ecx, edi
call fcn.004d1c70
mov esi, dword [esp + 0x38]
push 1
push edi
push 0
mov ecx, esi
call fcn.004aa8b0
push edi
mov ecx, esi
call fcn.004c5630
mov ecx, edi
call fcn.004d3910
test eax, eax
jne 0x4b304e
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0xc]
lea edx, [esi + 8]
push edx
call ebx
xor eax, eax
mov ecx, esi
mov dword [edi + 0x258], eax
mov dword [edi + 0x25c], eax
mov eax, dword [esi]
call dword [eax + 0x14]
lea ecx, [esi + 8]
push ecx
call ebx
xor ebx, ebx
mov ecx, esi
mov dword [edi + 0x250], ebx
mov dword [edi + 0x254], ebx
mov edx, dword [esi]
call dword [edx + 0x14]
push ebx
push ebx
push 2
mov ecx, edi
call fcn.004d1c70
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x234], 0x1a
call dword [eax + 0x14]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x4b2fe6
push eax
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, 0x10001
jmp 0x4b3162
push 1
push 2
push 0x20005
mov ecx, edi
call fcn.004d1ed0
test eax, eax
mov ecx, ebp
mov byte [esp + 0x234], 0x1a
jne 0x4b30e8
mov edx, dword [ebp]
call dword [edx + 0x14]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4b3083
push eax
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, 0x30004
jmp 0x4b3162
mov eax, dword [ebp]
call dword [eax + 0x14]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4b30ff
push eax
call fcn.0050c4cc
add esp, 4
lea ecx, [esp + 0x40]
mov byte [esp + 0x234], 0x16
call fcn.00507d3a
lea ecx, [esp + 0x84]
mov byte [esp + 0x234], 0x15
call fcn.00457b70
lea ecx, [esp + 0x138]
mov byte [esp + 0x234], 1
call fcn.0040c6a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x234], 0
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x234], 0xffffffff
call fcn.00507d3a
mov eax, 0x12001
mov ecx, dword [esp + 0x22c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x228
ret 4