Function at 0x407960
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [ecx + 0x14]
push ebx
mov ebx, dword [ecx + 0x10]
push esi
mov esi, dword [ecx + 0xc]
push edi
mov edi, edx
mov dword [ebp - 4], edx
mov edx, dword [ecx + 8]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x60], eax
movzx eax, byte [edi + 2]
mov dword [ebp - 0x54], edx
movzx edx, byte [edi + 3]
shl edx, 8
or edx, eax
mov dword [ebp - 0x5c], ebx
movzx eax, byte [edi + 1]
shl edx, 8
or edx, eax
mov dword [ebp - 0x58], esi
movzx eax, byte [edi]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x28]
xor eax, ebx
mov dword [ecx + 0x58], edx
movzx ebx, byte [edi + 7]
and eax, esi
xor eax, dword [ebp - 0x28]
add eax, edx
shl ebx, 8
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x20]
add edx, 0xd76aa478
add edx, eax
movzx eax, byte [edi + 6]
or ebx, eax
rol edx, 7
movzx eax, byte [edi + 5]
add edx, esi
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 4]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x24]
xor eax, esi
mov dword [ecx + 0x5c], ebx
mov esi, dword [ebp - 0x28]
and eax, edx
xor eax, dword [ebp - 0x24]
add esi, 0xe8c7b756
add eax, ebx
mov dword [ebp - 0x3c], ebx
movzx ebx, byte [edi + 0xb]
add esi, eax
movzx eax, byte [edi + 0xa]
shl ebx, 8
or ebx, eax
rol esi, 0xc
movzx eax, byte [edi + 9]
add esi, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [edi + 8]
mov edi, dword [ebp - 0x24]
shl ebx, 8
add edi, 0x242070db
or ebx, eax
mov eax, dword [ebp - 0x40]
xor eax, edx
mov dword [ecx + 0x60], ebx
and eax, esi
mov dword [ebp - 0x44], ebx
xor eax, dword [ebp - 0x40]
add eax, ebx
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
movzx ebx, byte [eax + 0xf]
movzx eax, byte [eax + 0xe]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0xd]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0xc]
or ebx, eax
mov eax, esi
xor eax, edx
mov dword [ecx + 0x64], ebx
and eax, edi
mov dword [ebp - 0x38], ebx
xor eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x40]
add ebx, 0xc1bdceee
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xa
add ebx, edi
movzx eax, byte [eax + 0x13]
shl eax, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x12]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x20], 8
movzx eax, byte [eax + 0x11]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x20], 8
movzx eax, byte [eax + 0x10]
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ecx + 0x68], eax
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0xf57c0faf
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add edx, ebx
movzx eax, byte [eax + 0x17]
shl eax, 8
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x16]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x15]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0xc], 8
movzx eax, byte [eax + 0x14]
or dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 0x6c], eax
mov eax, edi
xor eax, ebx
and eax, edx
xor eax, edi
add eax, 0x4787c62a
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0xc
add esi, edx
movzx eax, byte [eax + 0x1b]
shl eax, 8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1a]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x1c], 8
movzx eax, byte [eax + 0x19]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x1c], 8
movzx eax, byte [eax + 0x18]
or dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x70], eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add eax, 0xa8304613
add eax, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
movzx eax, byte [eax + 0x1f]
shl eax, 8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x1e]
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 8], 8
movzx eax, byte [eax + 0x1d]
or dword [ebp - 8], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 8], 8
movzx eax, byte [eax + 0x1c]
or dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 0x74], eax
mov eax, esi
xor eax, edx
and eax, edi
xor eax, edx
add eax, 0xfd469501
add eax, dword [ebp - 8]
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xa
add ebx, edi
movzx eax, byte [eax + 0x23]
shl eax, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x22]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x14], 8
movzx eax, byte [eax + 0x21]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x14], 8
movzx eax, byte [eax + 0x20]
or dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0x78], eax
mov eax, esi
xor eax, edi
and eax, ebx
xor eax, esi
add eax, 0x698098d8
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, dword [ebp - 4]
rol edx, 7
add edx, ebx
mov dword [ebp - 0x48], edx
movzx eax, byte [eax + 0x27]
shl eax, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x26]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x28], 8
movzx eax, byte [eax + 0x25]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x28], 8
movzx eax, byte [eax + 0x24]
or dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x7c], eax
mov eax, edi
xor eax, ebx
and eax, edx
xor eax, edi
add eax, 0x8b44f7af
add eax, dword [ebp - 0x28]
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 0xc
add esi, edx
mov dword [ebp - 0x30], esi
movzx eax, byte [eax + 0x2b]
shl eax, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2a]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x10], 8
movzx eax, byte [eax + 0x29]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x10], 8
movzx eax, byte [eax + 0x28]
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x80], eax
mov eax, ebx
xor eax, edx
and eax, esi
xor eax, ebx
add eax, 0xffff5bb1
add eax, dword [ebp - 0x10]
add edi, eax
mov eax, dword [ebp - 4]
ror edi, 0xf
add edi, esi
mov dword [ebp - 0x18], edi
movzx eax, byte [eax + 0x2f]
shl eax, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x2e]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x24], 8
movzx eax, byte [eax + 0x2d]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x24], 8
movzx eax, byte [eax + 0x2c]
or dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ecx + 0x84], eax
mov eax, esi
xor eax, edx
and eax, edi
xor eax, edx
lea edx, [ebx - 0x76a32842]
add eax, dword [ebp - 0x24]
add edx, eax
mov eax, dword [ebp - 4]
ror edx, 0xa
add edx, edi
movzx ebx, byte [eax + 0x33]
movzx eax, byte [eax + 0x32]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x31]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x30]
or ebx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x34], ebx
mov dword [ecx + 0x88], ebx
and eax, edx
xor eax, esi
mov esi, dword [ebp - 0x48]
add eax, ebx
add esi, 0x6b901122
add esi, eax
mov eax, dword [ebp - 4]
rol esi, 7
add esi, edx
movzx ebx, byte [eax + 0x37]
movzx eax, byte [eax + 0x36]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x35]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x34]
or ebx, eax
mov eax, edi
xor eax, edx
mov dword [ecx + 0x8c], ebx
and eax, esi
mov dword [ebp - 0x40], ebx
xor eax, edi
mov edi, dword [ebp - 0x30]
add eax, ebx
add edi, 0xfd987193
add edi, eax
mov eax, dword [ebp - 4]
rol edi, 0xc
add edi, esi
movzx ebx, byte [eax + 0x3b]
movzx eax, byte [eax + 0x3a]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x39]
or ebx, eax
mov eax, dword [ebp - 4]
shl ebx, 8
movzx eax, byte [eax + 0x38]
or ebx, eax
mov eax, edx
xor eax, esi
mov dword [ecx + 0x90], ebx
and eax, edi
mov dword [ebp - 0x30], ebx
xor eax, edx
add eax, ebx
mov ebx, dword [ebp - 0x18]
add ebx, 0xa679438e
add ebx, eax
mov eax, dword [ebp - 4]
ror ebx, 0xf
add ebx, edi
movzx eax, byte [eax + 0x3f]
shl eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x3e]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x18], 8
movzx eax, byte [eax + 0x3d]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
shl dword [ebp - 0x18], 8
movzx eax, byte [eax + 0x3c]
or dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x94], eax
mov eax, edi
xor eax, esi
and eax, ebx
xor eax, esi
add eax, 0x49b40821
add eax, dword [ebp - 0x18]
add edx, eax
ror edx, 0xa
mov eax, ebx
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xf61e2562
add eax, dword [ebp - 0x3c]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0xc040b340
add eax, dword [ebp - 0x1c]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0x265e5a51
add eax, dword [ebp - 0x24]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0xe9b6c7aa
add eax, dword [ebp - 0x2c]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0xd62f105d
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, edx
rol esi, 5
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0x2441453
add eax, dword [ebp - 0x10]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xd8a1e681
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0xe7d3fbc8
add eax, dword [ebp - 0x20]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
and eax, edi
xor eax, ebx
add eax, 0x21e1cde6
add eax, dword [ebp - 0x28]
add esi, eax
rol esi, 5
mov eax, edx
add esi, edx
xor eax, esi
and eax, ebx
xor eax, edx
add eax, 0xc33707d6
add eax, dword [ebp - 0x30]
add edi, eax
rol edi, 9
add edi, esi
mov eax, edi
mov dword [ebp - 0x4c], edi
xor eax, esi
and eax, edx
xor eax, esi
add eax, 0xf4d50d87
add eax, dword [ebp - 0x38]
add ebx, eax
mov eax, edi
rol ebx, 0xe
add ebx, edi
xor eax, ebx
and eax, esi
xor eax, edi
add eax, 0x455a14ed
add eax, dword [ebp - 0x14]
add edx, eax
mov eax, ebx
ror edx, 0xc
add edx, ebx
xor eax, edx
mov dword [ebp - 0x48], edx
and eax, edi
lea edi, [esi - 0x561c16fb]
xor eax, ebx
mov esi, dword [ebp - 0x4c]
add eax, dword [ebp - 0x40]
add esi, 0xfcefa3f8
add edi, eax
mov eax, edx
rol edi, 5
add edi, edx
xor eax, edi
and eax, ebx
xor eax, edx
add eax, dword [ebp - 0x44]
add esi, eax
rol esi, 9
add esi, edi
mov eax, esi
mov dword [ebp - 0x4c], esi
xor eax, edi
and eax, edx
mov edx, esi
xor eax, edi
add eax, 0x676f02d9
add eax, dword [ebp - 8]
add ebx, eax
rol ebx, 0xe
add ebx, esi
xor edx, ebx
mov dword [ebp - 0x50], ebx
mov eax, edx
and eax, edi
xor eax, esi
mov esi, dword [ebp - 0x48]
add eax, dword [ebp - 0x34]
add esi, 0x8d2a4c8a
add esi, eax
mov eax, ebx
ror esi, 0xc
add esi, ebx
xor edx, esi
xor eax, esi
add edx, 0xfffa3942
add edx, dword [ebp - 0xc]
add edi, edx
rol edi, 4
add edi, esi
xor eax, edi
add eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add ebx, 0x8771f681
add ebx, eax
add edx, 0x6d9d6122
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
add esi, 0xfde5380c
xor eax, edi
add eax, dword [ebp - 0x24]
add eax, edx
mov edx, ebx
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, edx
xor eax, edi
add edi, 0xa4beea44
add eax, dword [ebp - 0x30]
add eax, esi
mov esi, dword [ebp - 0x50]
ror eax, 9
add eax, esi
xor edx, eax
mov dword [ebp - 0x50], eax
add edx, dword [ebp - 0x3c]
add edx, edi
mov edi, dword [ebp - 0x50]
rol edx, 4
add edx, eax
mov eax, esi
xor eax, edi
mov dword [ebp - 0x4c], edx
xor eax, edx
add esi, 0xf6bb4b60
add eax, 0x4bdecfa9
add eax, dword [ebp - 0x20]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, edi
add edi, 0xbebfbc70
xor eax, edx
mov edx, ebx
add eax, dword [ebp - 8]
add eax, esi
mov esi, dword [ebp - 0x4c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, edx
xor eax, esi
add esi, 0x289b7ec6
add eax, dword [ebp - 0x10]
add eax, edi
mov edi, dword [ebp - 0x50]
ror eax, 9
add eax, edi
xor edx, eax
mov dword [ebp - 0x50], eax
add edx, dword [ebp - 0x40]
add edx, esi
mov esi, dword [ebp - 0x50]
rol edx, 4
add edx, eax
mov eax, edi
xor eax, esi
mov dword [ebp - 0x4c], edx
xor eax, edx
add eax, 0xeaa127fa
add eax, dword [ebp - 0x2c]
add ebx, eax
rol ebx, 0xb
add ebx, edx
mov eax, ebx
xor eax, esi
add edi, 0xd4ef3085
xor eax, edx
add esi, 0x4881d05
add eax, dword [ebp - 0x38]
mov edx, ebx
add eax, edi
mov edi, dword [ebp - 0x4c]
rol eax, 0x10
add eax, ebx
xor edx, eax
mov dword [ebp - 0x48], eax
mov eax, edx
xor eax, edi
add edi, 0xd9d4d039
add eax, dword [ebp - 0x1c]
add esi, eax
mov eax, dword [ebp - 0x48]
ror esi, 9
add esi, eax
xor eax, esi
xor edx, esi
add edx, dword [ebp - 0x28]
add edi, edx
mov edx, dword [ebp - 0x48]
rol edi, 4
add edx, 0x1fa27cf8
add edi, esi
xor eax, edi
add eax, 0xe6db99e5
add eax, dword [ebp - 0x34]
add ebx, eax
rol ebx, 0xb
add ebx, edi
mov eax, ebx
xor eax, esi
xor eax, edi
add eax, dword [ebp - 0x18]
add edx, eax
mov eax, ebx
rol edx, 0x10
add edx, ebx
xor eax, edx
xor eax, edi
add eax, 0xc4ac5665
add eax, dword [ebp - 0x44]
add esi, eax
mov eax, ebx
not eax
ror esi, 9
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xf4292244
add eax, dword [ebp - 0x2c]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x432aff97
add eax, dword [ebp - 8]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xab9423a7
add eax, dword [ebp - 0x30]
add edx, eax
mov eax, edi
rol edx, 0xf
not eax
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0xfc93a039
add eax, dword [ebp - 0xc]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x655b59c3
add eax, dword [ebp - 0x34]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0x8f0ccc92
add eax, dword [ebp - 0x38]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xffeff47d
add eax, dword [ebp - 0x10]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x85845dd1
add eax, dword [ebp - 0x3c]
add esi, eax
mov eax, ebx
not eax
ror esi, 0xb
add esi, edx
or eax, esi
xor eax, edx
add eax, 0x6fa87e4f
add eax, dword [ebp - 0x14]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
xor eax, esi
add eax, 0xfe2ce6e0
add eax, dword [ebp - 0x18]
add ebx, eax
mov eax, esi
not eax
rol ebx, 0xa
add ebx, edi
or eax, ebx
xor eax, edi
add eax, 0xa3014314
add eax, dword [ebp - 0x1c]
add edx, eax
mov eax, edi
not eax
rol edx, 0xf
add edx, ebx
or eax, edx
xor eax, ebx
add eax, 0x4e0811a1
add eax, dword [ebp - 0x40]
add esi, eax
mov eax, ebx
ror esi, 0xb
not eax
add esi, edx
or eax, esi
xor eax, edx
add eax, 0xf7537e82
add eax, dword [ebp - 0x20]
add edi, eax
mov eax, edx
not eax
rol edi, 6
add edi, esi
or eax, edi
mov dword [ebp - 0x20], edi
xor eax, esi
lea edi, [ebx - 0x42c50dcb]
add eax, dword [ebp - 0x24]
lea ebx, [edx + 0x2ad7d2bb]
mov edx, dword [ebp - 0x20]
add edi, eax
rol edi, 0xa
mov eax, esi
add edi, dword [ebp - 0x20]
not eax
or eax, edi
xor eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x44]
add ebx, eax
mov eax, edx
add edx, dword [ebp - 0x54]
not eax
rol ebx, 0xf
add ebx, edi
mov dword [ebp - 0x20], edx
or eax, ebx
xor eax, edi
add edi, dword [ebp - 0x60]
add eax, 0xeb86d391
add eax, dword [ebp - 0x28]
add esi, eax
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
add edi, 0x40
ror esi, 0xb
add esi, ebx
mov dword [ebp - 4], edi
add esi, dword [ebp - 0x58]
add ebx, dword [ebp - 0x5c]
sub dword [ebp + 8], 0x40
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x24], ebx
jne 0x407986
mov dword [ecx + 0x14], eax
mov eax, edi
pop edi
mov dword [ecx + 0xc], esi
pop esi
mov dword [ecx + 0x10], ebx
mov dword [ecx + 8], edx
pop ebx
mov esp, ebp
pop ebp
ret