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

Disassembly:
push 0xffffffffffffffff
push 0x45966b
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
push ebx
push ebp
push esi
mov eax, dword [0x4736c0]
xor eax, esp
push eax
lea eax, [esp + 0x16c]
mov dword fs:[0], eax
mov esi, ecx
push 0x69d28
lea eax, [edi + 0x69dcc]
push 0
push eax
mov dword [esp + 0x180], 0
call fcn.00442fd0
mov ecx, dword [esp + 0x188]
add esp, 0xc
mov edx, esi
call fcn.0041b050
cmp eax, 1
jne 0x40513a
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.0041b2d0
mov ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x2c], esi
mov dword [eax], 0
mov dword [esp + 0x160], esi
mov byte [esp + 0x174], 1
mov eax, dword [esp + 0x3c]
test eax, eax
mov ebx, eax
je 0x403828
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea edx, [esp + 0x114]
push edx
mov ecx, esi
call fcn.0041c0f0
mov ecx, dword [eax]
mov esi, ecx
mov dword [esp + 0x28], esi
mov dword [eax], 0
mov dword [esp + 0x164], esi
mov byte [esp + 0x174], 2
mov eax, dword [esp + 0x114]
test eax, eax
mov ebx, eax
je 0x403870
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
mov ecx, esi
call fcn.0041c500
xor ebp, ebp
test eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
jle 0x4050f6
lea esp, [esp]
mov ecx, dword [esp + 0x28]
push ebp
lea edx, [esp + 0x154]
push edx
call fcn.0041c5a0
mov ecx, dword [eax]
mov esi, ecx
mov dword [eax], 0
mov dword [esp + 0x14], esi
mov byte [esp + 0x174], 3
mov eax, dword [esp + 0x150]
test eax, eax
mov ebx, eax
je 0x4038d4
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea edx, [esp + 0x11c]
push edx
mov ecx, esi
call fcn.0041c0f0
mov ecx, dword [eax]
mov ebx, ecx
mov dword [esp + 0x18], ebx
mov dword [eax], 0
mov dword [esp + 0x168], ebx
mov byte [esp + 0x174], 4
mov eax, dword [esp + 0x11c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x403922
push eax
call fcn.0041c490
mov edx, dword [esp + 0x10]
push edx
call fcn.00421a44
add esp, 4
test ebp, ebp
jle 0x404595
push str.NAME
lea eax, [esp + 0xd8]
push eax
push ebx
call fcn.0041c680
mov ecx, dword [eax]
mov ebx, ecx
cmp ebx, esi
mov dword [eax], 0
je 0x40395e
test esi, esi
je 0x40395e
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xd4]
test eax, eax
mov dword [esp + 0x14], ebx
mov esi, eax
je 0x40397e
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.0041c210
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xd3af0]
imul eax, eax, 0xd20
lea ecx, [eax + edi + 0x6aaec]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4039cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
push str.VERSION
lea ecx, [esp + 0x148]
push ecx
push edx
call fcn.0041c680
mov ecx, dword [eax]
mov ebp, ecx
cmp ebp, ebx
mov dword [eax], 0
je 0x403a05
test ebx, ebx
je 0x403a05
push ebx
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x144]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x403a25
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea edx, [esp + 0x4c]
push edx
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xd3af0]
imul eax, eax, 0xd20
lea ecx, [eax + edi + 0x6abec]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403a74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x18]
push 0x46181c
lea ecx, [esp + 0xe0]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x403aac
test ebp, ebp
je 0x403aac
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xdc]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x403acc
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x54]
push eax
push esi
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6acec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.TYPE
lea ecx, [esp + 0x128]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x403b4f
test esi, esi
je 0x403b4f
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x124]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x403b6f
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x5c]
push eax
push ebp
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6adec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.INSTALL_PATH
lea ecx, [esp + 0xe8]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x403bf2
test ebp, ebp
je 0x403bf2
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xe4]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x403c12
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x64]
push eax
push esi
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6aeec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c61
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.INSTALL_PARAM
lea ecx, [esp + 0x160]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x403c95
test esi, esi
je 0x403c95
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x15c]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x403cb5
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6afec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403d04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RUNFILE_PATH
lea ecx, [esp + 0xf0]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x403d38
test ebp, ebp
je 0x403d38
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xec]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x403d58
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b0ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0x80]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403daa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.EXECUTE
lea ecx, [esp + 0x130]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x403dde
test esi, esi
je 0x403dde
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x12c]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x403dfe
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x7c]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push 0x461860
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0x7c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403e3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x403e5b
mov ecx, dword [edi + 0xd3af0]
imul ecx, ecx, 0xd20
mov dword [ecx + edi + 0x6b7f4], 0
jmp 0x403e72
mov edx, dword [edi + 0xd3af0]
imul edx, edx, 0xd20
mov dword [edx + edi + 0x6b7f4], 1
mov ecx, dword [esp + 0x18]
push str.UPDATE_ONLY
lea eax, [esp + 0xf8]
push eax
push ecx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x403eaa
test ebp, ebp
je 0x403eaa
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xf4]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x403eca
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x84]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0x84]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403f10
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x403f2d
mov ecx, dword [edi + 0xd3af0]
imul ecx, ecx, 0xd20
mov dword [ecx + edi + 0x6b7f8], 1
jmp 0x403f44
mov edx, dword [edi + 0xd3af0]
imul edx, edx, 0xd20
mov dword [edx + edi + 0x6b7f8], 0
mov ecx, dword [esp + 0x18]
push str.USER_RUN_ONLY
lea eax, [esp + 0x150]
push eax
push ecx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x403f7c
test esi, esi
je 0x403f7c
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x14c]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x403f9c
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x8c]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0x8c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403fe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x403fff
mov ecx, dword [edi + 0xd3af0]
imul ecx, ecx, 0xd20
mov dword [ecx + edi + 0x6b7fc], 1
jmp 0x404016
mov edx, dword [edi + 0xd3af0]
imul edx, edx, 0xd20
mov dword [edx + edi + 0x6b7fc], 0
mov ebx, dword [esp + 0x18]
push str.REG_NAME
lea eax, [esp + 0x100]
push eax
push ebx
call fcn.0041c680
mov ecx, dword [eax]
mov esi, ecx
cmp esi, ebp
mov dword [eax], 0
je 0x40404e
test ebp, ebp
je 0x40404e
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xfc]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x40406e
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea edx, [esp + 0x94]
push edx
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
mov eax, dword [edi + 0xd3af0]
imul eax, eax, 0xd20
lea ecx, [eax + edi + 0x6b1ec]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4040c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.INSTALL_ONCE
lea ecx, [esp + 0x138]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x4040f7
test esi, esi
je 0x4040f7
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x134]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x404117
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x9c]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0x9c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40415d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x40417a
mov ecx, dword [edi + 0xd3af0]
imul ecx, ecx, 0xd20
mov dword [ecx + edi + 0x6b804], 1
jmp 0x404191
mov edx, dword [edi + 0xd3af0]
imul edx, edx, 0xd20
mov dword [edx + edi + 0x6b804], 0
mov ebx, dword [esp + 0x18]
push str.INSTALL_DATE
lea eax, [esp + 0x108]
push eax
push ebx
call fcn.0041c680
mov ecx, dword [eax]
mov esi, ecx
cmp esi, ebp
mov dword [eax], 0
je 0x4041c9
test ebp, ebp
je 0x4041c9
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x104]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x4041e9
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xa4]
push edx
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
call fcn.0044022c
mov ecx, dword [edi + 0xd3af0]
imul ecx, ecx, 0xd20
mov dword [ecx + edi + 0x6b808], eax
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH1
lea ecx, [esp + 0x15c]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x40426c
test esi, esi
je 0x40426c
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x158]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x40428c
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xac]
push eax
push ebp
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b2ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4042e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH2
lea ecx, [esp + 0x110]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x404315
test ebp, ebp
je 0x404315
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x10c]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x404335
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xb4]
push eax
push esi
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b3ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0xc0]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40438a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH3
lea ecx, [esp + 0x140]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x4043be
test esi, esi
je 0x4043be
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x13c]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x4043de
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xbc]
push eax
push ebp
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b4ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0xc8]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404433
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH4
lea ecx, [esp + 0x34]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x404464
test ebp, ebp
je 0x404464
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x404481
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xc4]
push eax
push esi
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b5ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0xd0]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4044d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH5
lea ecx, [esp + 0x158]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x40450a
test esi, esi
je 0x40450a
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x154]
test eax, eax
mov esi, ebp
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x40452c
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xcc]
push eax
push ebp
call fcn.0041c210
mov ecx, dword [edi + 0xd3af0]
mov eax, dword [eax]
imul ecx, ecx, 0xd20
push eax
lea edx, [ecx + edi + 0x6b6ec]
push 0x100
push edx
call fcn.004401b6
mov eax, dword [esp + 0xd8]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404581
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [edi + 0xd3af0], 1
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
jmp 0x4050af
jne 0x4050ab
mov ebx, dword [esp + 0x18]
push str.NAME
lea ecx, [esp + 0x38]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x4045d0
test esi, esi
je 0x4045d0
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x4045ed
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x38]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
lea eax, [edi + 0x69dcc]
push 0x100
push eax
call fcn.004401b6
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40462f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.VERSION
lea ecx, [esp + 0x44]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x404660
test ebp, ebp
je 0x404660
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x40467d
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x69ecc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4046bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x46181c
lea ecx, [esp + 0x54]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x4046f0
test esi, esi
je 0x4046f0
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x40470d
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x58]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x69fcc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40474f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.TYPE
lea ecx, [esp + 0x64]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x404780
test ebp, ebp
je 0x404780
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x60]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x40479d
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x68]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a0cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4047df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.INSTALL_PATH
lea ecx, [esp + 0x74]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x404810
test esi, esi
je 0x404810
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x40482d
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x78]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a1cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.INSTALL_PARAM
lea ecx, [esp + 0x84]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x4048a6
test ebp, ebp
je 0x4048a6
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0x14], esi
mov ebp, eax
je 0x4048c6
push eax
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x88]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a2cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x94]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40490e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.RUNFILE_PATH
lea ecx, [esp + 0x94]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov ebp, edx
cmp ebp, esi
mov dword [eax], 0
je 0x404942
test esi, esi
je 0x404942
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x404962
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x98]
push eax
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a3cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4049aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.EXECUTE
lea ecx, [esp + 0xa4]
push ecx
push ebx
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebp
mov dword [eax], 0
je 0x4049de
test ebp, ebp
je 0x4049de
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xa0]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x4049fe
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea eax, [esp + 0xa8]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push 0x461860
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0xa8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404a44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
test bl, bl
sete cl
push str.UPDATE_ONLY
lea edx, [esp + 0xb4]
push edx
push eax
mov dword [edi + 0x6aad4], ecx
call fcn.0041c680
mov ecx, dword [eax]
mov ebp, ecx
cmp ebp, esi
mov dword [eax], 0
je 0x404a89
test esi, esi
je 0x404a89
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x404aa9
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xb8]
push edx
push ebp
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0xb8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404aef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
test bl, bl
setne cl
push str.USER_RUN_ONLY
lea edx, [esp + 0xc4]
push edx
push eax
mov dword [edi + 0x6aad8], ecx
call fcn.0041c680
mov ecx, dword [eax]
mov esi, ecx
cmp esi, ebp
mov dword [eax], 0
je 0x404b34
test ebp, ebp
je 0x404b34
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xc0]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x404b54
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xc8]
push edx
push esi
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0xc8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404b9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
test bl, bl
setne cl
push str.REG_NAME
lea edx, [esp + 0xd4]
push edx
push eax
mov dword [edi + 0x6aadc], ecx
call fcn.0041c680
mov ecx, dword [eax]
mov ebp, ecx
cmp ebp, esi
mov dword [eax], 0
je 0x404bdf
test esi, esi
je 0x404bdf
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xd0]
test eax, eax
mov dword [esp + 0x14], ebp
mov esi, eax
je 0x404bff
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xd8]
push edx
push ebp
call fcn.0041c210
mov eax, dword [eax]
push eax
lea eax, [edi + 0x6a4cc]
push 0x100
push eax
call fcn.004401b6
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x18]
push str.INSTALL_ONCE
lea ecx, [esp + 0xe4]
push ecx
push edx
call fcn.0041c680
mov ecx, dword [eax]
mov ebx, ecx
cmp ebx, ebp
mov dword [eax], 0
je 0x404c7f
test ebp, ebp
je 0x404c7f
push ebp
call fcn.0041c490
push ebp
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xe0]
test eax, eax
mov dword [esp + 0x14], ebx
mov esi, eax
je 0x404c9f
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xe8]
push edx
push ebx
call fcn.0041c210
mov eax, dword [eax]
push 0x461870
push eax
call fcn.00440414
add esp, 8
test eax, eax
mov eax, dword [esp + 0xe8]
sete byte [esp + 0x1f]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404ce7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x18]
xor ecx, ecx
cmp byte [esp + 0x1f], cl
push str.INSTALL_DATE
setne cl
lea edx, [esp + 0xf4]
push edx
push ebp
mov dword [edi + 0x6aae4], ecx
call fcn.0041c680
mov ecx, dword [eax]
mov esi, ecx
cmp esi, ebx
mov dword [eax], 0
je 0x404d2e
test ebx, ebx
je 0x404d2e
push ebx
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0xf0]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x404d4e
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea edx, [esp + 0xf8]
push edx
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
call fcn.0044022c
mov dword [edi + 0xdc0], eax
mov eax, dword [esp + 0xfc]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404d90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH1
lea ecx, [esp + 0x104]
push ecx
push ebp
call fcn.0041c680
mov edx, dword [eax]
mov ebx, edx
cmp ebx, esi
mov dword [eax], 0
je 0x404dc4
test esi, esi
je 0x404dc4
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x100]
test eax, eax
mov dword [esp + 0x14], ebx
mov esi, eax
je 0x404de4
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x108]
push eax
push ebx
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a5cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x114]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH2
lea ecx, [esp + 0x114]
push ecx
push ebp
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebx
mov dword [eax], 0
je 0x404e60
test ebx, ebx
je 0x404e60
push ebx
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x110]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x404e80
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x118]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a6cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x124]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404ec8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH3
lea ecx, [esp + 0x124]
push ecx
push ebp
call fcn.0041c680
mov edx, dword [eax]
mov ebx, edx
cmp ebx, esi
mov dword [eax], 0
je 0x404efc
test esi, esi
je 0x404efc
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x120]
test eax, eax
mov dword [esp + 0x14], ebx
mov esi, eax
je 0x404f1c
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x128]
push eax
push ebx
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a7cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x134]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404f64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH4
lea ecx, [esp + 0x134]
push ecx
push ebp
call fcn.0041c680
mov edx, dword [eax]
mov esi, edx
cmp esi, ebx
mov dword [eax], 0
je 0x404f98
test ebx, ebx
je 0x404f98
push ebx
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x130]
test eax, eax
mov dword [esp + 0x14], esi
mov ebx, eax
je 0x404fb8
push eax
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x138]
push eax
push esi
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a8cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x405000
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DISABLE_PATH5
lea ecx, [esp + 0x144]
push ecx
push ebp
call fcn.0041c680
mov edx, dword [eax]
mov ebx, edx
cmp ebx, esi
mov dword [eax], 0
je 0x405034
test esi, esi
je 0x405034
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
mov eax, dword [esp + 0x140]
test eax, eax
mov dword [esp + 0x14], ebx
mov esi, eax
je 0x405054
push eax
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
lea eax, [esp + 0x148]
push eax
push ebx
call fcn.0041c210
mov eax, dword [eax]
push eax
lea ecx, [edi + 0x6a9cc]
push 0x100
push ecx
call fcn.004401b6
mov eax, dword [esp + 0x154]
add eax, 0xfffffff0
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40509c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [edi + 0xd3aec], 1
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
test ebx, ebx
mov byte [esp + 0x174], 3
je 0x4050ca
push ebx
call fcn.0041c490
push ebx
call fcn.00421a44
add esp, 4
test esi, esi
mov byte [esp + 0x174], 2
je 0x4050e5
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
add ebp, 1
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
jl 0x403890
cmp dword [esp + 0x28], 0
mov byte [esp + 0x174], 1
je 0x405118
mov esi, dword [esp + 0x28]
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
cmp dword [esp + 0x2c], 0
mov byte [esp + 0x174], 0
je 0x40513a
mov esi, dword [esp + 0x2c]
push esi
call fcn.0041c490
push esi
call fcn.00421a44
add esp, 4
cmp dword [edi + 0xd3aec], 0
ja 0x405150
cmp dword [edi + 0xd3af0], 0
ja 0x405150
xor esi, esi
jmp 0x405155
mov esi, 1
mov dword [esp + 0x174], 0xffffffff
mov eax, dword [esp + 0x17c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x405183
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x16c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x168
ret 4