Function at 0x40406c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
push 8
call fcn.0040f5a4
add esp, 4
mov dword [ebp - 0x34], eax
mov edi, eax
mov esi, 0x44428d
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
push 4
call fcn.0040f5a4
add esp, 4
mov dword [ebp - 0x48], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebp - 0x4c], 0
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 4]
push eax
call fcn.00404c91
push 0
mov ebx, 0x104
call fcn.0040fc40
add esp, 4
mov dword [ebp - 0x50], eax
push 0x448298
push dword [ebp - 0x50]
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404179
push ebx
call fcn.0040f598
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x40418c
mov eax, 0x444277
push eax
push 1
mov ebx, 0x24c
call fcn.004111f0
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4041b2
push ebx
call fcn.0040f598
add esp, 4
cmp dword [ebp - 0x58], 0
jne 0x404211
push 0x80000004
push 0
push 0x4480ff
push 0x80000301
push 0
push 0x10
push 0x80000004
push 0
push 0x4482a2
push 3
mov ebx, 0x300
call fcn.00410cb0
add esp, 0x28
mov dword [ebp - 0x50], esp
call dword [sym.imp.kernel32.dll_ExitProcess]
push 0
mov ebx, 0x104
call fcn.0040fc40
add esp, 4
mov dword [ebp - 0x50], eax
push 0x448298
push dword [ebp - 0x50]
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40424e
push ebx
call fcn.0040f598
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x404261
mov eax, 0x444277
push eax
push 1
mov ebx, 0x268
call fcn.00411860
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x404287
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40429b
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4042b2
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x50], eax
push 1
mov eax, 0x448126
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4482b9
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4482c2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406c5b
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40430a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40431a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40432a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40433a
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40434e
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404365
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x50], eax
push 1
mov eax, 0x448126
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4482cb
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4482c2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406c5b
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4043bd
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x4043cd
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4043dd
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4043ed
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404401
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404418
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x50], eax
push 1
mov eax, 0x448126
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4482d4
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4482c2
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406c5b
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404470
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x404480
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x404490
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4044a0
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4044b4
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x4044cb
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x50], eax
push 1
mov eax, 0x4482dd
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, 0x4482f3
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x4482fc
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406c5b
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404523
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x404533
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x404543
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x404553
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404567
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004071f2
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x40458f
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
push 0
mov ebx, 0x104
call fcn.0040fc40
add esp, 4
mov dword [ebp - 0x50], eax
push dword [ebp - 0x28]
push 0x444295
push dword [ebp - 0x50]
mov ecx, 3
call fcn.004015bf
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x4045d3
push ebx
call fcn.0040f598
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x4045e6
mov eax, 0x444277
push eax
push 1
mov ebx, 0x268
call fcn.00411860
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x40460c
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404620
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x2c], eax
push 0x80000005
push 0
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x404637
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x50], eax
push 1
mov eax, 0x444277
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
mov eax, 0x448305
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x58]
push eax
mov eax, 0x44830e
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406c5b
mov dword [ebp - 0x60], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40468f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x40469f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x4046af
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x4046bf
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x60]
push eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4046d3
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x30], eax
push 0
push 0
push 0
push 0x80000004
push 0
push 0x448317
push 0x80000004
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x4046fc
mov eax, 0x444277
push eax
push 3
mov ebx, 0x190
call fcn.004118d0
add esp, 0x28
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404734
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404730
imul eax, dword [ebx]
jmp 0x404725
mov ecx, eax
test ecx, ecx
je 0x404753
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x40474c
push ebx
push eax
call fcn.0040f598
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40473a
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x34]
call fcn.00401011
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 4
jne 0x4048c0
mov ebx, dword [ebp - 0x34]
call fcn.0040102a
mov eax, 0
cmp eax, ecx
jl 0x404792
push 1
call fcn.0040f5b0
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x50], ebx
mov ebx, dword [ebp - 0x50]
mov eax, dword [ebx]
test eax, eax
je 0x4047b8
push eax
mov ebx, eax
call fcn.0040104a
inc eax
push eax
call fcn.0040f5a4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4047c9
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x38], eax
push 0
mov ebx, 0x104
call fcn.0040fc40
add esp, 4
mov dword [ebp - 0x50], eax
push dword [ebp - 0x38]
push 0x448319
push dword [ebp - 0x50]
mov ecx, 3
call fcn.004015bf
add esp, 0xc
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x40480d
push ebx
call fcn.0040f598
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
jne 0x404820
mov eax, 0x444277
push eax
push 1
mov ebx, 0x268
call fcn.00411860
add esp, 0x10
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x404846
push ebx
call fcn.0040f598
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
jne 0x404859
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x40487f
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x5c]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404893
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00407f85
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4048b7
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
jmp 0x4048da
mov eax, 0x448126
push eax
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x4048d6
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x40], eax
push 0
mov ebx, 0x104
call fcn.0040fc40
add esp, 4
mov dword [ebp - 0x50], eax
push 0x448325
push dword [ebp - 0x50]
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x404917
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x40492b
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00401e17
push 0
mov ebx, 0x2d4
call fcn.00411ad0
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x54], eax
push 0
mov ebx, 0x2d8
call fcn.00411ae0
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x60]
push dword [ebx]
push 0x448317
push dword [ebp - 0x20]
push 0x448317
push dword [ebp - 0x40]
push 0x448317
push dword [ebp - 0x5c]
push 0x44832f
push dword [ebp - 0x54]
push 0x448317
push dword [ebp - 0x10]
push 0x448317
push dword [ebp - 0xc]
push 0x448317
push dword [ebp - 8]
push 0x448317
push dword [ebp - 4]
push 0x448317
push dword [ebp - 0x1c]
push 0x448317
push dword [ebp - 0x18]
push 0x448331
mov ecx, 0x16
call fcn.004015bf
add esp, 0x58
mov dword [ebp - 0x64], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x404a1a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x5c]
test ebx, ebx
je 0x404a2a
push ebx
call fcn.0040f598
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x64]
test eax, eax
jne 0x404a3d
mov eax, 0x444277
push eax
push 1
mov ebx, 0x198
call fcn.00411620
add esp, 0x10
mov dword [ebp - 0x68], eax
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x404a63
push ebx
call fcn.0040f598
add esp, 4
lea eax, [ebp - 0x68]
push eax
call fcn.00408409
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x404a7f
push ebx
call fcn.0040f598
add esp, 4
push 0x80000005
push 0
mov eax, dword [ebp - 0x6c]
test eax, eax
jne 0x404a92
mov eax, 0x44428d
push eax
push 1
mov ebx, 0x168
call fcn.00411270
add esp, 0x10
mov dword [ebp - 0x70], eax
mov ebx, dword [ebp - 0x6c]
test ebx, ebx
je 0x404ab8
push ebx
call fcn.0040f598
add esp, 4
push dword [ebp - 0x70]
push 0x448337
mov ecx, 2
call fcn.004015bf
add esp, 8
mov dword [ebp - 0x74], eax
mov ebx, dword [ebp - 0x70]
test ebx, ebx
je 0x404ae0
push ebx
call fcn.0040f598
add esp, 4
mov eax, dword [ebp - 0x74]
push eax
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x404af4
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x404b14
push eax
mov ebx, eax
call fcn.0040104a
inc eax
push eax
call fcn.0040f5a4
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x404b19
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404b2a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404b3a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404b4a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x404b5a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404b6a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404b7a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x404b8a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x404b9a
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x404baa
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x404bba
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x404bca
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x404bda
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x404bf8
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x404bf4
imul eax, dword [ebx]
jmp 0x404be9
mov ecx, eax
test ecx, ecx
je 0x404c17
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x404c10
push ebx
push eax
call fcn.0040f598
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x404bfe
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x404c2f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x404c3f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x404c4f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x44]
test ebx, ebx
je 0x404c5f
push ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x48]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x404c73
push ebx
call fcn.0040f598
add esp, 4
pop ebx
call fcn.0040f598
add esp, 4
mov ebx, dword [ebp - 0x4c]
test ebx, ebx
je 0x404c8c
push ebx
call fcn.0040f598
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret