Function at 0x541ab0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push 0x400
push 0x5d8c80
push 0
call dword [0x5d7d90]
cmp dword [0x581d14], 0
je 0x541af7
push 0x5d8c80
push 0x5ba154
push 0x5d4900
call fcn.0054f465
add esp, 0xc
push 0x5d4900
push 0
call fcn.005297a0
push 0
push 0
push 3
push 0
push 3
push Ordinal_2
push 0x5d8c80
call dword [0x5db70c]
mov dword [0x5d6190], eax
cmp dword [0x5d6190], 0xffffffff
je 0x541b28
cmp dword [0x5d9960], 1
jne 0x541b7e
cmp dword [0x5d9960], 0
jne 0x541b74
cmp dword [0x581d14], 0
je 0x541b5f
push 0x5d8c80
push 0x5ba0c8
push 0x5d4900
call fcn.0054f465
add esp, 0xc
push 0x5d4900
push 3
call fcn.005297a0
jmp 0x541b74
cmp dword [0x581d14], 0
je 0x541b74
push 0x5ba070
push 3
call fcn.005297a0
mov dword [0x5d9960], 1
mov dword [0x5822c8], 0x44646441
mov eax, dword [0x5822cc]
and eax, 0xff
mov dword [0x5822cc], eax
mov ecx, dword [0x58231e]
xor ecx, 0xacddddca
mov dword [0x58231e], ecx
mov dword [ebp - 4], 0x5822c8
mov dword [0x5d30fc], 8
jmp 0x541bcb
mov edx, dword [0x5d30fc]
add edx, 1
mov dword [0x5d30fc], edx
cmp dword [0x5d30fc], 0x4a
jge 0x541bf2
mov eax, dword [ebp - 4]
add eax, dword [0x5d30fc]
mov cl, byte [eax]
xor cl, byte [0x5d30fc]
mov edx, dword [ebp - 4]
add edx, dword [0x5d30fc]
mov byte [edx], cl
jmp 0x541bbc
cmp dword [0x5d9960], 1
je 0x541c01
xor eax, eax
test eax, eax
je 0x541c3d
push 0x84
push 0x5822c8
push 0x5d7260
call fcn.0054f130
add esp, 0xc
push 4
call fcn.0054f5a1
add esp, 4
mov dword [0x5dc8f0], eax
xor ecx, ecx
mov cx, word [0x5d72ac]
mov edx, dword [0x5dc8f0]
mov dword [edx], ecx
jmp 0x542171
push 0
mov eax, dword [0x5d6190]
push eax
call dword [0x5da4c4]
mov dword [0x5d6090], eax
push 4
call fcn.0054f5a1
add esp, 4
mov dword [0x5dc8f0], eax
mov ecx, dword [0x5dc8f0]
mov edx, dword [0x5d6090]
mov dword [ecx], edx
push 2
push 0
push 0xfffffffffffffffc
mov eax, dword [0x5d6190]
push eax
call dword [0x5d9554]
push 0
push 0x5d2f64
push 4
push 0x5d73a4
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d841c]
mov edx, dword [0x5d6090]
sub edx, 0x84
cmp dword [0x5d73a4], edx
jb 0x541cdf
cmp dword [0x581d14], 0
je 0x541cc3
push 0x5b9ff8
push 0x20
call fcn.005297a0
cmp dword [0x581d14], 0
je 0x541cd8
push 0x5d2988
push 4
call fcn.005297a0
push 0
call fcn.0054f04e
push 0
push 0
mov eax, dword [0x5d73a4]
push eax
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d9554]
push 0
push 0x5d2f64
push 0x84
push 0x5d7260
mov edx, dword [0x5d6190]
push edx
call dword [0x5d841c]
push 4
push 0x5b9ff0
push 0x5d8460
call fcn.0054f130
add esp, 0xc
mov dword [0x5d3160], 2
jmp 0x541d41
mov eax, dword [0x5d3160]
sub eax, 1
mov dword [0x5d3160], eax
cmp dword [0x5d3160], 0
jl 0x541d70
mov ecx, dword [0x5d3160]
mov edx, dword [0x5d3160]
mov al, byte [ecx + 0x5d8460]
xor al, byte [edx + 0x5d8461]
mov ecx, dword [0x5d3160]
mov byte [ecx + 0x5d8460], al
jmp 0x541d34
push 4
push 0x5d8460
push 0x5d8000
call fcn.0054f130
add esp, 0xc
mov byte [0x5d8004], 0
push 4
push 0x5d8000
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x542171
cmp dword [0x581d14], 0
je 0x541dbc
push 0x5b9f88
push 0
call fcn.005297a0
push 4
push 0x5b9f80
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x542032
push 4
push 0x5b9f78
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x542032
push 4
push 0x5b9f70
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x542032
push 2
push 0
push 0xfffffffffffffffc
mov edx, dword [0x5d6190]
push edx
call dword [0x5d9554]
push 0
push 0x5d2f64
push 4
push 0x5d6188
mov eax, dword [0x5d6190]
push eax
call dword [0x5d841c]
mov ecx, dword [0x5d6090]
sub ecx, dword [0x5d6188]
sub ecx, 8
mov dword [0x5d73a4], ecx
push 2
push 0
mov eax, dword [0x5d6188]
imul eax, eax, 0xffffffff
sub eax, 8
push eax
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d9554]
push 0
push 0x5d2f64
push 0x84
push 0x5d7260
mov edx, dword [0x5d6190]
push edx
call dword [0x5d841c]
push 3
push 0x5b9f6c
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x541eee
push 3
push 0x5b9f68
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x541eee
cmp dword [0x581d14], 0
je 0x541ed2
push 0x5b9ee0
push 0x20
call fcn.005297a0
cmp dword [0x581d14], 0
je 0x541ee7
push 0x5d2988
push 4
call fcn.005297a0
push 0
call fcn.0054f04e
cmp dword [0x581d14], 0
je 0x541f03
push 0x5b9e88
push 1
call fcn.005297a0
push 0
push 0
mov eax, dword [0x5d73a4]
sub eax, 4
push eax
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d9554]
push 0
push 0x5d2f64
push 4
push 0x5d73a4
mov edx, dword [0x5d6190]
push edx
call dword [0x5d841c]
push 0
push 0
mov eax, dword [0x5d73a4]
push eax
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d9554]
push 0
push 0x5d2f64
push 0x84
push 0x5d7260
mov edx, dword [0x5d6190]
push edx
call dword [0x5d841c]
push 4
push 0x5b9ff0
push 0x5d8460
call fcn.0054f130
add esp, 0xc
mov dword [0x5d3160], 2
jmp 0x541f9a
mov eax, dword [0x5d3160]
sub eax, 1
mov dword [0x5d3160], eax
cmp dword [0x5d3160], 0
jl 0x541fc9
mov ecx, dword [0x5d3160]
mov edx, dword [0x5d3160]
mov al, byte [ecx + 0x5d8460]
xor al, byte [edx + 0x5d8461]
mov ecx, dword [0x5d3160]
mov byte [ecx + 0x5d8460], al
jmp 0x541f8d
push 4
push 0x5d8460
push 0x5d8000
call fcn.0054f130
add esp, 0xc
mov byte [0x5d8004], 0
push 4
push 0x5d8000
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x54202d
cmp dword [0x581d14], 0
je 0x542011
push 0x5b9ee0
push 0x20
call fcn.005297a0
cmp dword [0x581d14], 0
je 0x542026
push 0x5d2988
push 4
call fcn.005297a0
push 0
call fcn.0054f04e
jmp 0x542171
cmp dword [0x581d14], 0
je 0x542047
push 0x5b9e40
push 3
call fcn.005297a0
push 0
push 0
mov edx, dword [0x5d73a4]
sub edx, 4
push edx
mov eax, dword [0x5d6190]
push eax
call dword [0x5d9554]
push 0
push 0x5d2f64
push 4
push 0x5d73a4
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d841c]
push 0
push 0
mov edx, dword [0x5d73a4]
push edx
mov eax, dword [0x5d6190]
push eax
call dword [0x5d9554]
push 0
push 0x5d2f64
push 0x84
push 0x5d7260
mov ecx, dword [0x5d6190]
push ecx
call dword [0x5d841c]
push 4
push 0x5b9ff0
push 0x5d8460
call fcn.0054f130
add esp, 0xc
mov dword [0x5d3160], 2
jmp 0x5420e0
mov edx, dword [0x5d3160]
sub edx, 1
mov dword [0x5d3160], edx
cmp dword [0x5d3160], 0
jl 0x54210d
mov eax, dword [0x5d3160]
mov ecx, dword [0x5d3160]
mov dl, byte [eax + 0x5d8460]
xor dl, byte [ecx + 0x5d8461]
mov eax, dword [0x5d3160]
mov byte [eax + 0x5d8460], dl
jmp 0x5420d1
push 4
push 0x5d8460
push 0x5d8000
call fcn.0054f130
add esp, 0xc
mov byte [0x5d8004], 0
push 4
push 0x5d8000
push 0x5d7260
call fcn.0054f9e0
add esp, 0xc
test eax, eax
je 0x542171
cmp dword [0x581d14], 0
je 0x542155
push 0x5b9ee0
push 0x20
call fcn.005297a0
cmp dword [0x581d14], 0
je 0x54216a
push 0x5d2988
push 4
call fcn.005297a0
push 0
call fcn.0054f04e
cmp dword [0x581d14], 0
je 0x54221e
xor ecx, ecx
mov cx, word [0x5d7284]
push ecx
xor edx, edx
mov dx, word [0x5d7282]
push edx
xor eax, eax
mov ax, word [0x5d7280]
push eax
xor ecx, ecx
mov cx, word [0x5d727e]
push ecx
xor edx, edx
mov dx, word [0x5d727c]
push edx
xor eax, eax
mov ax, word [0x5d727a]
push eax
xor ecx, ecx
mov cx, word [0x5d7278]
push ecx
xor edx, edx
mov dx, word [0x5d7276]
push edx
xor eax, eax
mov ax, word [0x5d7274]
push eax
mov ecx, dword [0x5d7288]
push ecx
push 4
push 0x5d7270
push 0x5dc760
call fcn.0053d2f0
push eax
push 8
push 0x5d7268
push 0x5d61a0
call fcn.0053d2f0
push eax
push 0x5b9d1c
push 0x5d4900
call fcn.0054f465
add esp, 0x38
push 0x5d4900
push 1
call fcn.005297a0
cmp dword [0x581d14], 0
je 0x542566
mov edx, dword [0x5d72ae]
and edx, 0x40000
test edx, edx
je 0x542244
mov dword [ebp - 0x78], 0x5b9d14
jmp 0x54224b
mov dword [ebp - 0x78], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 0x20000
test eax, eax
je 0x542262
mov dword [ebp - 0x7c], 0x5b9d14
jmp 0x542269
mov dword [ebp - 0x7c], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 0x10000
test ecx, ecx
je 0x542282
mov dword [ebp - 0x80], 0x5b9d14
jmp 0x542289
mov dword [ebp - 0x80], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 0x8000
test edx, edx
je 0x5422a5
mov dword [ebp - 0x84], 0x5b9d14
jmp 0x5422af
mov dword [ebp - 0x84], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 0x4000
test eax, eax
je 0x5422c9
mov dword [ebp - 0x88], 0x5b9d14
jmp 0x5422d3
mov dword [ebp - 0x88], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 0x2000
test ecx, ecx
je 0x5422ef
mov dword [ebp - 0x8c], 0x5b9d14
jmp 0x5422f9
mov dword [ebp - 0x8c], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 0x1000
test edx, edx
je 0x542315
mov dword [ebp - 0x90], 0x5b9d14
jmp 0x54231f
mov dword [ebp - 0x90], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 0x800
test eax, eax
je 0x542339
mov dword [ebp - 0x94], 0x5b9d14
jmp 0x542343
mov dword [ebp - 0x94], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 0x400
test ecx, ecx
je 0x54235f
mov dword [ebp - 0x98], 0x5b9d14
jmp 0x542369
mov dword [ebp - 0x98], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 0x200
test edx, edx
je 0x542385
mov dword [ebp - 0x9c], 0x5b9d14
jmp 0x54238f
mov dword [ebp - 0x9c], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 0x100
test eax, eax
je 0x5423a9
mov dword [ebp - 0xa0], 0x5b9d14
jmp 0x5423b3
mov dword [ebp - 0xa0], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 0x80
test ecx, ecx
je 0x5423cf
mov dword [ebp - 0xa4], 0x5b9d14
jmp 0x5423d9
mov dword [ebp - 0xa4], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 0x40
test edx, edx
je 0x5423f2
mov dword [ebp - 0xa8], 0x5b9d14
jmp 0x5423fc
mov dword [ebp - 0xa8], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 0x20
test eax, eax
je 0x542414
mov dword [ebp - 0xac], 0x5b9d14
jmp 0x54241e
mov dword [ebp - 0xac], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 0x10
test ecx, ecx
je 0x542437
mov dword [ebp - 0xb0], 0x5b9d14
jmp 0x542441
mov dword [ebp - 0xb0], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 8
test edx, edx
je 0x54245a
mov dword [ebp - 0xb4], 0x5b9d14
jmp 0x542464
mov dword [ebp - 0xb4], 0x5b9d0c
mov eax, dword [0x5d72ae]
and eax, 4
test eax, eax
je 0x54247c
mov dword [ebp - 0xb8], 0x5b9d14
jmp 0x542486
mov dword [ebp - 0xb8], 0x5b9d0c
mov ecx, dword [0x5d72ae]
and ecx, 2
test ecx, ecx
je 0x54249f
mov dword [ebp - 0xbc], 0x5b9d14
jmp 0x5424a9
mov dword [ebp - 0xbc], 0x5b9d0c
mov edx, dword [0x5d72ae]
and edx, 1
test edx, edx
je 0x5424c2
mov dword [ebp - 0xc0], 0x5b9d14
jmp 0x5424cc
mov dword [ebp - 0xc0], 0x5b9d0c
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x98]
push edx
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
push 0x5b9988
push 0x5d4900
call fcn.0054f465
add esp, 0x54
push 0x5d4900
push 0
call fcn.005297a0
mov ecx, dword [0x5d72b6]
mov dword [ebp - 0x18], ecx
mov dword [0x5d72b6], 0
lea edx, [ebp - 0x70]
push edx
call fcn.0053c0a0
push 0x84
push 0x5d7260
lea eax, [ebp - 0x70]
push eax
call fcn.0053c0f0
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0053c220
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
xor edx, dword [ebp - 0xc]
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
xor eax, dword [ebp - 8]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x74]
shr edx, 0x10
and edx, 0xff
shl edx, 8
add ecx, edx
mov eax, dword [ebp - 0x74]
shr eax, 8
and eax, 0xff
shl eax, 0x10
add ecx, eax
mov edx, dword [ebp - 0x74]
and edx, 0xff
shl edx, 0x18
add ecx, edx
mov dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x18]
mov dword [0x5d72b6], eax
mov ecx, dword [ebp - 0x74]
cmp ecx, dword [ebp - 0x18]
jne 0x54263d
cmp dword [0x581d14], 0
je 0x542628
push 0x5b9940
push 0
call fcn.005297a0
jmp 0x54263d
cmp dword [0x581d14], 0
je 0x54263d
push 0x5b98e8
push 0
call fcn.005297a0
mov edx, dword [ebp - 0x74]
cmp edx, dword [ebp - 0x18]
jne 0x542652
mov eax, dword [0x5d72ae]
cmp eax, dword [0x55eeb0]
je 0x542659
push 0
call fcn.0054f04e
mov esp, ebp
pop ebp
ret