Function at 0x10004c00
Capabilities:
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1224
call fcn.10023370
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov eax, 0x25ca
mov word [ebp - 0xf0], ax
movzx ecx, byte [0x1004300a]
mov dword [ebp - 0xcc], ecx
mov edx, 0xb667
mov word [ebp - 0xf4], dx
mov eax, 0x22
mov word [ebp - 0x70], ax
mov ecx, dword [0x10043128]
mov edx, dword [0x1004312c]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 0x1d], cl
mov eax, 0x95e76
mov dword [ebp - 0x5c], 0xc5f60560
mov dword [ebp - 0x58], eax
movzx cx, byte [0x1004300a]
mov word [ebp - 0x7c], cx
mov dword [ebp - 0x8c], 0xf1e1
xor edx, edx
mov dword [ebp - 0x40], 0xf6
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x68], 0x484bd623
mov eax, 0x5160
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x28], 0x27d67bad
mov ecx, dword [0x10043168]
mov edx, dword [0x1004316c]
mov dword [ebp - 0x190], edx
mov byte [ebp - 0x11], cl
mov eax, dword [0x10043128]
mov ecx, dword [0x1004312c]
mov dword [ebp - 0x194], ecx
mov word [ebp - 0x24], ax
mov edx, dword [0x10043128]
mov eax, dword [0x1004312c]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x154], eax
movzx eax, byte [0x10043033]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ecx, dword [0x100431a0]
mov edx, dword [0x100431a4]
mov dword [ebp - 0x198], edx
mov word [ebp - 0x18], cx
mov byte [ebp - 0x13], 0x52
mov byte [ebp - 0x5d], 0xa0
mov ax, word [0x100431b8]
mov byte [ebp - 0x12], al
mov dword [ebp - 0x19c], 0x78301a1e
mov cl, byte [0x10043093]
mov byte [ebp - 0x1f], cl
mov dword [ebp - 0x4c], 0x6623
movzx eax, word [0x10043158]
cdq
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], edx
mov dx, word [0x1004318c]
mov word [ebp - 0xf8], dx
mov eax, 0x2223
mov word [ebp - 0x74], ax
mov ecx, 0x69961
mov dword [ebp - 0x1c8], 0x5be842c5
mov dword [ebp - 0x1c4], ecx
mov edx, 0x2357
mov word [ebp - 0xfc], dx
mov eax, dword [0x10043178]
mov ecx, dword [0x1004317c]
mov dword [ebp - 0x1a0], ecx
mov byte [ebp - 0x5e], al
xor edx, edx
mov dword [ebp - 0x1d0], 0xaf
mov dword [ebp - 0x1cc], edx
mov eax, dword [0x100431a0]
mov ecx, dword [0x100431a4]
mov dword [ebp - 0x1a4], ecx
mov word [ebp - 0x100], ax
mov edx, 0xffffe61c
mov word [ebp - 0x104], dx
mov eax, 0x38c4
mov word [ebp - 0x16c], ax
mov byte [ebp - 0x5f], 0x82
mov ecx, 0x6b5e2
mov dword [ebp - 0x1d8], 0xd4c11f42
mov dword [ebp - 0x1d4], ecx
movsx eax, byte [0x10043112]
cdq
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1dc], edx
mov dx, word [0x10043160]
mov word [ebp - 0x178], dx
mov eax, 0x70aef
mov dword [ebp - 0x1e8], 0x80815e73
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1a8], 0x52c33c14
mov cl, byte [0x10043164]
mov byte [ebp - 0x60], cl
mov dword [ebp - 0x1ac], 0x8287fd3d
mov byte [ebp - 0x61], 0x71
mov dx, word [0x100431b8]
mov word [ebp - 0x174], dx
mov dword [ebp - 0x1b0], 0x38ef
mov eax, dword [0x10043168]
mov ecx, dword [0x1004316c]
mov dword [ebp - 0x1b4], ecx
mov word [ebp - 0x170], ax
mov edx, 0x8754c
mov dword [ebp - 0x1f0], 0xf7cefeac
mov dword [ebp - 0x1ec], edx
mov byte [ebp - 0x75], 0xd8
mov dword [ebp - 0x1bc], 0xfa
mov dword [ebp - 0x1c0], 0x42b7b712
mov dword [ebp - 0x98], 0
movzx eax, byte [ebp - 0x1d]
cdq
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
mov eax, dword [0x100431c4]
cmp eax, dword [ebp - 0x114]
jl 0x10004ef8
jg 0x10004eec
mov ecx, dword [0x100431c0]
cmp ecx, dword [ebp - 0x118]
jb 0x10004ef8
mov dword [ebp - 0xac], 1
jmp 0x10004f02
mov dword [ebp - 0xac], 0
cmp dword [0x100431c4], 0
jl 0x10004f22
jg 0x10004f16
cmp dword [0x100431c0], 0x1b
jb 0x10004f22
mov dword [ebp - 0xb0], 1
jmp 0x10004f2c
mov dword [ebp - 0xb0], 0
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xb0]
jl 0x10004f3c
jmp 0x10004f59
movsx eax, word [ebp - 0x1c]
sub eax, 0x33
mov word [0x10043184], ax
movsx ecx, word [0x10043184]
add ecx, 0x2b33d92f
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
cmp ecx, dword [0x100431ac]
jg 0x1000500a
jl 0x10004f94
mov edx, dword [ebp - 0x180]
cmp edx, dword [0x100431a8]
jae 0x1000500a
movsx eax, word [ebp - 0x74]
movzx ecx, word [0x10043170]
cmp eax, ecx
jg 0x10004ffe
mov edx, 2
imul eax, edx, 0x17c2
mov cl, byte [eax + 0x10283168]
mov byte [ebp - 0x13], cl
cmp dword [ebp - 0xcc], 0
je 0x10004fd9
mov edx, dword [0x10043190]
mov eax, dword [0x10043194]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
jmp 0x10004fea
movzx eax, word [ebp - 0x24]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
jmp 0x10005005
movzx eax, word [0x1004315c]
jmp 0x10005092
movsx ecx, byte [0x10043093]
cmp dword [ebp - 0x68], ecx
jae 0x1000503c
xor edx, edx
mov dword [0x10043168], 0xd6
mov dword [0x1004316c], edx
movzx eax, word [0x1004315c]
add eax, 0x373be88d
mov word [0x1004315c], ax
jmp 0x10005092
cmp dword [ebp - 0x68], 0
jne 0x10005074
mov cx, word [0x10043184]
mov word [ebp - 0x18], cx
mov edx, dword [0x10043188]
xor eax, eax
push 0x2b9ca
push 0x78984d5f
push eax
push edx
call fcn.10023240
mov ecx, eax
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
jmp 0x10005092
movzx edx, byte [ebp - 0x12]
movzx eax, byte [ebp - 0x13]
cmp edx, eax
jl 0x10005092
mov ecx, dword [ebp - 0x28]
imul ecx, dword [0x10043164]
mov edx, dword [ebp - 0x28]
add edx, ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], 0
xor eax, eax
mov byte [ebp - 0x1e], al
lea ecx, [ebp - 0x234]
push ecx
lea ecx, [ebp - 0x1e]
call fcn.10002d80
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
jmp 0x100050c2
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 0x12
jae 0x1000510c
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0x184], edx
mov eax, dword [ebp - 0x184]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x48]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0x7e], cx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x188]
mov dx, word [ebp - 0x7e]
mov word [ecx], dx
jmp 0x100050b9
mov eax, 0x12
shl eax, 1
mov ecx, dword [ebp - 0x48]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0x108], edx
xor eax, eax
mov ecx, dword [ebp - 0x108]
mov word [ecx], ax
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x10c], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x10c]
push eax
push 0
push 0
call fcn.10001590
call eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1000515f
jmp 0x1000529a
push 0
push 0x84000000
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push 0
push 0
call fcn.100015f0
call eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1000518b
jmp 0x1000529a
mov dword [ebp - 0x30], 0
mov dword [ebp - 0xb4], 0
mov eax, 1
test eax, eax
je 0x10005286
push 0x1000
push 0
lea ecx, [ebp - 0x1234]
push ecx
call fcn.10024820
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea edx, [ebp - 0x2c]
push edx
push 0x1000
lea eax, [ebp - 0x1234]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
call fcn.100014a0
call eax
test eax, eax
jne 0x100051ee
jmp 0x10005286
cmp dword [ebp - 0x2c], 0
jne 0x10005208
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov dword [ebp - 0xb4], 1
jmp 0x10005286
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], 0
jne 0x10005234
mov edx, dword [ebp - 0x2c]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x10005232
jmp 0x10005286
jmp 0x1000525f
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
jne 0x1000525f
jmp 0x10005286
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x1234]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
add eax, dword [ebp - 0x30]
push eax
call fcn.10014af0
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
jmp 0x1000519c
mov edx, dword [ebp - 0xb4]
mov dword [ebp - 0x98], edx
xor eax, eax
jne 0x10005099
mov byte [ebp - 0x11], 1
mov byte [ebp - 0x11], 0x19
mov cl, byte [ebp - 0x11]
mov byte [ebp - 0xb8], cl
cmp byte [ebp - 0xb8], 0
je 0x100052bf
cmp byte [ebp - 0xb8], 1
je 0x100052da
jmp 0x100052e3
mov dword [0x10043148], 0x3cbf8257
movsx edx, byte [0x10043093]
mov eax, dword [ebp - 0x28]
sub eax, edx
mov dword [ebp - 0x28], eax
jmp 0x100052e3
mov ecx, dword [ebp - 0x4c]
sub ecx, dword [ebp - 0x54]
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x34], 0
je 0x10005405
mov byte [ebp - 0x11], 3
mov edx, dword [0x10043174]
sub edx, 0x6d5f4fd2
mov word [ebp - 0x1c], dx
mov eax, 2
imul ecx, eax, 0xc099
movsx edx, word [ecx + 0x102d9000]
movsx eax, word [ebp - 0x18]
sub eax, edx
mov word [ebp - 0x18], ax
movzx ecx, byte [ebp - 0x11]
mov dword [ebp - 0xbc], ecx
cmp dword [ebp - 0xbc], 3
ja case.default.0x1000533a
mov edx, dword [ebp - 0xbc]
jmp dword [edx*4 + 0x1000597c]
mov eax, dword [0x100431a0]
mov ecx, dword [0x100431a4]
sub eax, 1
sbb ecx, 0
mov dword [0x100431a0], eax
mov dword [0x100431a4], ecx
jmp case.default.0x1000533a
movzx eax, word [0x10043198]
cdq
add eax, 0x8970e4c5
adc edx, 0xe881e
mov dword [0x10043130], eax
mov dword [0x10043134], edx
jmp case.default.0x1000533a
mov edx, dword [0x10043150]
mov eax, dword [0x10043154]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x120]
or ecx, dword [ebp - 0x11c]
je 0x100053ba
movsx eax, word [ebp - 0x1c]
cdq
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], edx
jmp 0x100053d1
mov edx, dword [0x10043140]
mov eax, dword [0x10043144]
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe0], eax
mov cl, byte [ebp - 0xe4]
mov byte [0x1004300a], cl
jmp case.default.0x1000533a
mov eax, dword [ebp - 0x28]
sub eax, 0x74
cdq
mov ecx, dword [ebp - 0x54]
sub ecx, eax
mov eax, dword [ebp - 0x50]
sbb eax, edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push 0
call fcn.10001350
call eax
mov edx, dword [ebp - 0x5c]
mov dword [0x10043164], edx
cmp dword [ebp - 0x38], 0
je 0x100058be
push 0
push 0xde
mov eax, dword [0x100431c4]
push eax
mov ecx, dword [0x100431c0]
push ecx
call fcn.10023240
mov ecx, eax
movzx eax, byte [ebp - 0x12]
cdq
sub eax, ecx
mov byte [ebp - 0x12], al
movzx eax, word [0x10043158]
xor eax, 0x35f8
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov edx, dword [0x10043120]
xor eax, eax
mov ecx, dword [0x10043128]
mov esi, dword [0x1004312c]
mov dword [ebp - 0x128], edx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], esi
mov edx, dword [ebp - 0x128]
cmp edx, dword [ebp - 0x130]
jne 0x10005498
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x12c]
je 0x100054a4
mov dword [ebp - 0xc0], 1
jmp 0x100054ae
mov dword [ebp - 0xc0], 0
cmp dword [0x10043120], 0x5f
je 0x100054c3
mov dword [ebp - 0xc4], 1
jmp 0x100054cd
mov dword [ebp - 0xc4], 0
mov ecx, dword [ebp - 0xc0]
cmp ecx, dword [ebp - 0xc4]
jl 0x100054f6
mov ecx, dword [ebp - 0x88]
add ecx, 0x5acd5646
movzx eax, byte [ebp - 0x11]
cdq
sub eax, ecx
mov byte [ebp - 0x11], al
jmp 0x100055ba
cmp dword [0x10043120], 0
jne 0x1000550b
mov dword [ebp - 0xc8], 1
jmp 0x10005515
mov dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0x92cf
jl 0x10005535
mov edx, dword [0x10043138]
xor edx, 0xb2d9
mov byte [ebp - 0x12], dl
jmp 0x100055ba
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x138]
or edx, dword [ebp - 0x134]
je 0x100055ba
mov eax, dword [ebp - 0x5c]
or eax, dword [ebp - 0x58]
je 0x10005577
mov ecx, dword [0x10043190]
mov edx, dword [0x10043194]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], edx
jmp 0x1000558b
mov eax, dword [ebp - 0x8c]
xor ecx, ecx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
mov dword [0x100431b0], edx
mov dword [0x100431b4], eax
movsx ecx, word [ebp - 0x1c]
mov edx, dword [0x10043188]
add edx, ecx
mov eax, dword [0x10043188]
sub eax, edx
mov dword [0x10043188], eax
mov ecx, dword [0x10043cbc]
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 4], 0
movzx edx, word [ebp - 0x24]
add edx, 0x786741cf
mov dword [ebp - 0x28], edx
mov dword [0x1004318c], 0x3f2b6037
jmp 0x10005631
mov dword [ebp - 4], 0xffffffff
jmp 0x10005641
mov eax, dword [ebp - 0x6c]
add eax, 0x522
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov dword [ebp - 0x148], ecx
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x148]
cmp eax, dword [0x100431c0]
jne 0x1000567c
mov ecx, dword [ebp - 0x144]
cmp ecx, dword [0x100431c4]
je 0x100056f3
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
add edx, 0xef
adc eax, 0
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x14c], eax
mov ecx, dword [ebp - 0x150]
or ecx, dword [ebp - 0x14c]
jne 0x100056b1
mov dword [ebp - 0xd4], 1
jmp 0x100056bb
mov dword [ebp - 0xd4], 0
movsx edx, word [ebp - 0x7c]
mov eax, dword [0x10043164]
sub eax, edx
movsx ecx, word [0x10043180]
movzx edx, byte [0x1004310f]
sub ecx, edx
and eax, ecx
movsx ecx, word [0x10043184]
add ecx, dword [ebp - 0xd4]
not ecx
xor eax, ecx
mov dword [0x100431d4], eax
jmp 0x1000578c
mov edx, dword [0x10043134]
cmp edx, dword [ebp - 0x50]
jl 0x10005731
jg 0x1000570a
mov eax, dword [0x10043130]
cmp eax, dword [ebp - 0x54]
jb 0x10005731
mov byte [0x10043033], 0x8c
movzx eax, byte [0x1004300a]
cdq
push 0xf00ee
push 0x94c7c032
push edx
push eax
call fcn.10023240
mov byte [0x1004305a], al
jmp 0x1000578c
mov ecx, 0x3f8c5c96
test ecx, ecx
je 0x10005748
mov edx, dword [0x10043cbc]
mov dword [0x10043174], edx
jmp 0x1000578c
movsx eax, byte [0x10043112]
cmp eax, 0x82b22939
jb 0x1000578c
movsx eax, word [ebp - 0x18]
cdq
mov ecx, dword [0x10043178]
mov esi, dword [0x1004317c]
push esi
push ecx
push edx
push eax
call fcn.10023240
mov word [ebp - 0x18], ax
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov cl, 4
call fcn.10023350
mov byte [0x10043032], al
mov edx, dword [ebp - 0x6c]
add edx, 0x481
mov dword [ebp - 0x110], edx
movsx eax, byte [0x1004310e]
test eax, eax
jne 0x100057b2
mov dword [ebp - 0xd8], 1
jmp 0x100057bc
mov dword [ebp - 0xd8], 0
imul ecx, dword [ebp - 0xd8], 0x19e5041c
movsx edx, word [ebp - 0x70]
sub edx, dword [ebp - 0x4c]
or ecx, edx
xor eax, eax
sub ecx, dword [ebp - 0x88]
sbb eax, dword [ebp - 0x84]
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x160]
or ecx, dword [ebp - 0x15c]
jne 0x10005803
mov dword [ebp - 0xdc], 1
jmp 0x1000580d
mov dword [ebp - 0xdc], 0
mov edx, dword [ebp - 0xdc]
mov dword [0x10043188], edx
mov eax, dword [ebp - 0x6c]
add eax, 0x3d0
mov dword [ebp - 0x1b8], eax
movzx eax, byte [0x1004310f]
cdq
mov ecx, eax
mov esi, edx
add ecx, dword [ebp - 0x88]
adc esi, dword [ebp - 0x84]
mov edx, dword [0x10043160]
sub edx, dword [ebp - 0x8c]
xor eax, eax
xor ecx, edx
xor esi, eax
movzx eax, byte [ebp - 0x12]
cdq
sub ecx, eax
sbb esi, edx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], esi
movsx ecx, byte [ebp - 0x1f]
sub ecx, 0xc0
mov dword [0x1004318c], ecx
mov edx, dword [ebp - 0x90]
or edx, dword [ebp - 0x90]
cmp edx, dword [ebp - 0x110]
je 0x100058be
mov ecx, 7
mov esi, str.DownlevelName
lea edi, [ebp - 0x20c]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cdq
mov dword [0x10043190], eax
mov dword [0x10043194], edx
mov ecx, dword [ebp - 0x38]
push ecx
push 0
push 0
call fcn.10001350
call eax
mov edx, 4
imul eax, edx, 0x29
mov eax, dword [eax + 0x10321de0]
cdq
mov dword [0x10043190], eax
mov dword [0x10043194], edx
movzx ecx, byte [0x10043033]
test ecx, ecx
jne 0x100058f7
xor edx, edx
mov dword [ebp - 0xec], 1
mov dword [ebp - 0xe8], edx
jmp 0x10005902
xorps xmm0, xmm0
movlpd qword [ebp - 0xec], xmm0
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
xor eax, dword [ebp - 0xec]
xor ecx, dword [ebp - 0xe8]
not eax
not ecx
mov edx, dword [0x10043194]
add eax, dword [0x10043190]
adc ecx, edx
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x168]
or eax, dword [ebp - 0x164]
jne 0x1000594c
mov dword [ebp - 0x94], 1
jmp 0x10005956
mov dword [ebp - 0x94], 0
mov ecx, dword [ebp - 0x94]
mov dword [0x10043188], ecx
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc