Function at 0x40d610
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov dword [ebp - 0x10], 0xd84d8ba6
mov esi, dword [ebp - 0x44]
mov ebx, 3
mov eax, dword [ebp - 0x10]
cmp eax, 0xfceca296
jle 0x40d68d
cmp eax, 0x27e595f8
jle 0x40d6de
cmp eax, 0x5ac41d5b
jg 0x40d774
cmp eax, 0x3e942281
jg 0x40d8de
cmp eax, 0x2a72de9b
jg 0x40dbfa
cmp eax, 0x27e595f9
je 0x40dde2
cmp eax, 0x2a390ed0
jne 0x40d628
mov eax, dword [ebp - 0x54]
mov word [eax], 0xe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 0x1185242d
jmp 0x40d628
cmp eax, 0xbe5659ca
jle 0x40d727
cmp eax, 0xcb0f296f
jle 0x40d7d4
cmp eax, 0xd84d8ba5
jg 0x40d91e
cmp eax, 0xce2b7dfe
jg 0x40dc45
cmp eax, 0xcb0f2970
je 0x40ddf7
cmp eax, 0xcb21ae9c
jne 0x40d628
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], 0x8b644baf
jmp 0x40d628
cmp eax, 0x14912e0e
jg 0x40d851
cmp eax, 0xeffc43d
jg 0x40d94e
cmp eax, 0x21397d2
jg 0x40dc9a
cmp eax, 0xfceca297
je 0x40de12
cmp eax, 0xaa4806
jne 0x40d628
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x10], 0xc3a9cb58
jmp 0x40d628
cmp eax, 0xa26bf1c9
jg 0x40d89f
cmp eax, 0x8b644bae
jle 0x40d9e3
cmp eax, 0x99b67fbb
jg 0x40dadf
cmp eax, 0x8b644baf
je 0x40de3f
cmp eax, 0x915d7d23
jne 0x40d628
imul eax, dword [ebp - 0x14], 0x784a8000
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xa26bf1ca
jmp 0x40d628
cmp eax, 0x76530f7a
jle 0x40d98d
cmp eax, 0x79ab723f
jg 0x40dce7
cmp eax, 0x76530f7b
je 0x40de4b
cmp eax, 0x7983cfac
jne 0x40d628
imul ecx, dword [ebp - 0x14], 0x4f
add ecx, 0x278
imul eax, ecx, 0x6d00
imul ecx, ecx
imul edx, ecx, 0x6055
dec edx
mov dword [ebp - 0x14], eax
mov eax, 0x82a9b641
cmp edx, ecx
je 0x40e220
mov eax, 0x9e8b0307
jmp 0x40e220
cmp eax, 0xc477d7be
jle 0x40da19
cmp eax, 0xc9a2a0ac
jg 0x40db0d
cmp eax, 0xc477d7bf
je 0x40de70
cmp eax, 0xc4940eaf
jne 0x40d628
shr esi, 3
imul esi, esi, 0x57
sub esp, 0x10
mov dword [esp + 4], esi
mov dword [esp + 0xc], 0x1ecf
mov dword [esp + 8], 0x2844
mov dword [esp], 0xf04
call fcn.0040e420
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xdb5
mov dword [esp + 4], 0x3734
mov dword [esp], 0x4b6b
call fcn.0040e2f0
add esp, 0x10
jmp 0x40dd64
cmp eax, 0x198ecc9e
jle 0x40da4e
cmp eax, 0x244fd0dc
jg 0x40db3f
cmp eax, 0x198ecc9f
je 0x40dead
cmp eax, 0x20f1a2f2
jne 0x40d628
imul eax, dword [ebp - 0x14], 0x54
shr eax, 4
and eax, 0xffffff80
or eax, 0x37
imul eax, eax, 0xfd
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xc049a164
jmp 0x40d628
cmp eax, 0xb041beb5
jle 0x40da7f
cmp eax, 0xbd25ec14
jg 0x40dba7
cmp eax, 0xb041beb6
je 0x40decd
cmp eax, 0xb4122fa0
jne 0x40d628
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0x76530f7b
jmp 0x40d628
cmp eax, 0x46bb92a0
jg 0x40dd09
cmp eax, 0x3e942282
je 0x40df23
cmp eax, 0x454310dc
jne 0x40d628
shl esi, 0xf
add esi, 0x11d280
mov eax, 0x27e595f9
cmp esi, 0xd7
jl 0x40db9d
jmp 0x40e220
cmp eax, 0xf3075e52
jg 0x40dd3a
cmp eax, 0xd84d8ba6
je 0x40df65
cmp eax, 0xee355f59
jne 0x40d628
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0xcb21ae9c
jmp 0x40d628
cmp eax, 0x10c0eff7
jle 0x40dd70
cmp eax, 0x10c0eff8
je 0x40df8b
cmp eax, 0x1185242d
jne 0x40d628
imul eax, dword [ebp - 0x14], 0x2070
add eax, 0xa230
shr eax, 0xe
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x7fc78f69
jmp 0x40d628
cmp eax, 0x5d78cf27
jg 0x40dd8f
cmp eax, 0x5ac41d5c
je 0x40dfb7
cmp eax, 0x5d07fa1d
jne 0x40d628
mov eax, dword [ebp - 0x40]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x475746
mov dword [esp + 4], 7
call fcn.0040e420
add esp, 0x10
mov dword [ebp - 0x10], 0x198ecc9f
jmp 0x40d628
cmp eax, 0x802ad5a3
je 0x40e00d
cmp eax, 0x82a9b641
je 0x40e08e
cmp eax, 0x89a0c743
jne 0x40d628
mov eax, dword [ebp - 0x20]
add eax, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x10], 0x915d7d23
jmp 0x40d628
cmp eax, 0xbe5659cb
je 0x40e0a6
cmp eax, 0xc049a164
je 0x40e0b2
cmp eax, 0xc3a9cb58
jne 0x40d628
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0xbd25ec15
jmp 0x40d628
cmp eax, 0x14912e0f
je 0x40e0cd
cmp eax, 0x15aeb714
je 0x40e0ea
cmp eax, 0x17b292b1
jne 0x40d628
shl dword [ebp - 0x14], 5
mov dword [ebp - 0x10], 0x10c0eff8
jmp 0x40d628
cmp eax, 0xa26bf1ca
je 0x40e0f9
cmp eax, 0xa80953d8
je 0x40e10b
cmp eax, 0xaad53469
jne 0x40d628
imul esi, esi, 0x1700
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x2fee
mov dword [esp + 4], 0x2bd8
mov dword [esp], 0xa90
call fcn.0040e420
add esp, 0x10
mov eax, 0x7e19442
cmp esi, 0x19
jl 0x40e137
jmp 0x40e220
cmp eax, 0x99b67fbc
je 0x40dd64
cmp eax, 0x9e8b0307
jne 0x40d628
mov eax, dword [ebp - 0x3c]
mov word [eax + 0x88], 0
mov dword [ebp - 0x10], 0x5ac41d5c
jmp 0x40d628
cmp eax, 0xc9a2a0ad
je 0x40e11a
cmp eax, 0xca5ed588
jne 0x40d628
imul eax, dword [ebp - 0x14], 0x2fe98000
or eax, 2
imul eax, eax, 0x75
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x3c1bbca1
jmp 0x40d628
cmp eax, 0x244fd0dd
je 0x40e141
cmp eax, 0x25362f75
jne 0x40d628
imul esi, esi, 0xa3
add esi, 0xffff80a8
call fcn.0040d610
sub esp, 0x10
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0x31cc
mov dword [esp + 4], 0x527
mov dword [esp], 0x19a
call fcn.0040e2f0
add esp, 0x10
mov eax, 0xb041beb6
cmp esi, 0xfd
je 0x40e220
mov eax, 0x5ac41d5c
jmp 0x40e220
cmp eax, 0xbd25ec15
je 0x40e171
cmp eax, 0xbdef6eaf
jne 0x40d628
mov eax, dword [ebp - 0x40]
mov word [eax + 0xe], 0
mov eax, dword [ebp - 0x40]
movzx ecx, word [0x475744]
mov word [eax + 0xc], cx
mov ecx, dword [0x475740]
mov dword [eax + 8], ecx
mov ecx, dword [0x47573c]
mov dword [eax + 4], ecx
mov ecx, dword [0x475738]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0xc477d7bf
jmp 0x40d628
cmp eax, 0x2a72de9c
je 0x40e18a
cmp eax, 0x3c1bbca1
jne 0x40d628
mov eax, dword [ebp - 0x38]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 5
mov dword [esp + 8], 0x482c82
mov dword [esp + 4], 0x10
call fcn.0040e2f0
add esp, 0x10
mov dword [ebp - 0x10], 0x17b292b1
jmp 0x40d628
cmp eax, 0xce2b7dff
je 0x40e1ab
cmp eax, 0xce3864f7
jne 0x40d628
mov ecx, dword [ebp - 0x14]
mov eax, 0xfffffe07
add ecx, eax
mov eax, ecx
imul eax, ecx
imul edx, eax, 0x81ad
shr ecx, 5
and ecx, 0xfffffff8
dec edx
imul ecx, ecx, 0x67
add ecx, 0x121b
mov dword [ebp - 0x14], ecx
mov ecx, 0xd84d8ba6
cmp edx, eax
je 0x40dea5
mov ecx, 0xbdef6eaf
jmp 0x40dea5
cmp eax, 0x21397d3
je 0x40e1c8
cmp eax, 0x7e19442
jne 0x40d628
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x8a
call fcn.00450060
add esp, 0xc
mov eax, dword [ebp - 0x30]
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], 0xce3864f7
jmp 0x40d628
cmp eax, 0x79ab7240
je 0x40e1f3
cmp eax, 0x7fc78f69
jne 0x40d628
mov dword [ebp - 0x10], 0xaa4806
jmp 0x40d628
cmp eax, 0x46bb92a1
je 0x40e228
cmp eax, 0x4ad13176
jne 0x40d628
imul eax, dword [ebp - 0x14], 0x7898000
add eax, 0xffffff62
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x2a390ed0
jmp 0x40d628
cmp eax, 0xf3075e53
je 0x40e246
cmp eax, 0xfc5c6eb7
jne 0x40d628
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov dword [ebp - 0x10], 0x14912e0f
jmp 0x40d628
mov dword [ebp - 0x10], 0x27e595f9
jmp 0x40d628
cmp eax, 0xeffc43e
jne 0x40e299
mov eax, dword [ebp - 0x18]
mov word [eax], 0x88
mov dword [ebp - 0x10], 0x46bb92a1
jmp 0x40d628
cmp eax, 0x5d78cf28
jne 0x40e2a5
shl esi, 0xa
sub esp, 0x10
mov dword [esp + 0xc], 0x2972
mov dword [esp + 4], 0x4f37
mov dword [esp], 0x178
mov edi, 0xd84d8ba6
add esi, 0xfffd4c00
mov dword [esp + 8], esi
je 0x40ddcd
mov edi, 0xfceca297
call fcn.0040e420
add esp, 0x10
call fcn.0040d610
mov dword [ebp - 0x10], edi
jmp 0x40d628
push eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x10], 0xcb0f2970
jmp 0x40d628
imul eax, dword [ebp - 0x14], 0x4e
add eax, 0xffffff5e
shr eax, 5
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x802ad5a3
jmp 0x40d628
push eax
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x30], eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x18], eax
sub esp, 8
mov eax, esp
mov dword [ebp - 0x1c], eax
sub esp, 0xc
mov eax, esp
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0x2a72de9c
jmp 0x40d628
mov dword [ebp - 0x10], 0x82a9b641
jmp 0x40d628
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x48]
sub esp, 8
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x10], 0xee355f59
jmp 0x40d628
mov eax, dword [ebp - 0x14]
shr eax, 0xf
imul eax, eax, 0xd1
add eax, 0xffffff6e
imul ecx, eax, 0xcc
imul eax, eax
imul edx, eax, 0x2f31
dec edx
add ecx, 0x74
mov dword [ebp - 0x14], ecx
mov ecx, 0x82a9b641
cmp edx, eax
je 0x40dea5
mov ecx, 0x5d07fa1d
mov dword [ebp - 0x10], ecx
jmp 0x40d628
mov eax, dword [ebp - 0x14]
shr eax, 6
and eax, 0x1fffe
imul eax, eax, 0x97
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x21397d3
jmp 0x40d628
shr esi, 0xf
mov edi, esi
shl edi, 8
sub edi, esi
sub edi, esi
lea esi, [edi + 0x8d]
shr esi, 3
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0xc], 0x101f
mov dword [esp + 8], 0x12f3
mov dword [esp + 4], 0x2bf1
call fcn.0040e2f0
add esp, 0x10
mov eax, 0xc4940eaf
cmp edi, 0x6c3
jb 0x40e220
mov eax, 0xaad53469
jmp 0x40e220
push eax
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x10], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x482c7e]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x482c7a]
mov dword [eax + 8], ecx
mov ecx, dword [0x482c76]
mov dword [eax + 4], ecx
mov ecx, dword [0x482c72]
mov dword [eax], ecx
mov dword [ebp - 0x10], 0xca5ed588
jmp 0x40d628
push eax
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0x24], eax
push eax
mov eax, esp
mov dword [ebp - 0x28], eax
sub esp, 0x8c
mov eax, esp
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x10], 0xfceca297
jmp 0x40d628
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
sub esp, 0xc
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 8], 0x11
call fcn.00450060
add esp, 0xc
mov dword [ebp - 0x10], 0xb4122fa0
jmp 0x40d628
mov eax, dword [ebp - 0x3c]
sub esp, 0xc
mov dword [esp], eax
mov dword [esp + 8], 0x88
mov dword [esp + 4], 0x4756a0
call fcn.00450060
add esp, 0xc
mov eax, dword [ebp - 0x3c]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0x475728
mov dword [esp + 4], 0x44
call fcn.0040e420
add esp, 0x10
mov dword [ebp - 0x10], 0x7e19442
jmp 0x40d628
mov eax, dword [ebp - 0x34]
mov byte [eax + 9], 0
mov eax, dword [ebp - 0x34]
mov cl, byte [0x482c69]
mov byte [eax + 8], cl
mov ecx, dword [0x482c65]
mov dword [eax + 4], ecx
mov ecx, dword [0x482c61]
mov dword [eax], ecx
mov eax, dword [ebp - 0x34]
sub esp, 0x10
mov dword [esp], eax
mov dword [esp + 0xc], 8
mov dword [esp + 8], 0x482c6a
mov dword [esp + 4], 9
call fcn.0040e2f0
add esp, 0x10
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], edx
movzx eax, word [eax + 8]
mov word [ebp - 0x68], ax
sub esp, 4
lea eax, [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0x15aeb714
jmp 0x40d628
push eax
sub esp, 0x88
mov eax, esp
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x10], 0x7983cfac
jmp 0x40d628
mov dword [ebp - 0x10], 0x3e942282
jmp 0x40d628
mov ecx, dword [ebp - 0x64]
mov eax, 0x107f597c
cmp ecx, 8
je 0x40e220
mov eax, 0x6b470ec3
jmp 0x40e220
mov eax, dword [ebp - 0x1c]
mov word [eax], 0xe
mov eax, dword [ebp - 0x1c]
add eax, 2
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x10], 0x4ad13176
jmp 0x40d628
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0xbe5659cb
jmp 0x40d628
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x10], 0xf3075e53
jmp 0x40d628
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0xeffc43e
jmp 0x40d628
imul esi, esi, 0xf40000
call fcn.0040ce18
call fcn.0040d610
mov eax, 0x9e8b0307
test esi, esi
je 0x40e220
mov eax, 0x46bb92a1
jmp 0x40e220
mov eax, dword [ebp - 0x14]
mov ecx, 0xffffff4d
add eax, ecx
shr eax, 4
imul eax, eax, 0x96
shr eax, 9
imul eax, eax, 0x70bc
add eax, 0xffe0bca3
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0xfc5c6eb7
jmp 0x40d628
imul eax, dword [ebp - 0x14], 0x46000
shr eax, 7
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x89a0c743
jmp 0x40d628
mov eax, dword [ebp - 0x14]
shr eax, 0xc
imul eax, eax, 0xd6
add eax, 0xffffffd6
shr eax, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x99b67fbc
jmp 0x40d628
imul esi, esi, 0x85818
add esi, 0x8cad34a
call fcn.0040d610
mov dword [ebp - 0x10], 0x5d78cf28
jmp 0x40d628
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
mov dword [eax], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0xa80953d8
jmp 0x40d628
imul edi, esi, 0x3d00
add edi, 0xffffff8b
mov esi, edi
shr esi, 3
call fcn.0040d610
call fcn.0040ce18
mov eax, 0xce2b7dff
cmp edi, 0x2f8
jb 0x40e21d
mov eax, 0xfceca297
add esi, 0xffffffbe
mov dword [ebp - 0x10], eax
jmp 0x40d628
mov eax, dword [ebp - 0x18]
mov word [eax + 2], 0x88
mov eax, dword [ebp - 0x18]
add eax, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x10], 0x244fd0dd
jmp 0x40d628
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov dword [eax + 8], 0x34
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x4c]
sub esp, 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], ebx
mov dword [esp + 0x10], 0
mov dword [esp], 0x50000018
call edx
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x10], 0x20f1a2f2
jmp 0x40d628
cmp eax, 0x107f597c
je 0x40e2c3
jmp 0x40d628
cmp eax, 0x6b470ec3
jne 0x40d628
mov dword [ebp - 0x44], esi
sub esp, 4
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret