Function at 0x504050
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
sub esp, 0xbc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0x18]
lea ecx, [esi + 0x456c]
mov dword [esp], eax
call fcn.005f4480
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
sub esp, 4
call dword [eax + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi + 0x58]
mov esi, eax
mov dword [ebp - 0x90], eax
mov esi, dword [esi + 4]
mov eax, dword [eax]
sub esi, eax
sar esi, 2
sub esi, 1
lea ebx, [esi*4]
jmp 0x5040be
test esi, esi
js 0x5040f1
mov eax, dword [ebp - 0x90]
mov eax, dword [eax]
mov edi, dword [eax + ebx]
mov eax, dword [ebp - 0x8c]
mov ecx, edi
add edi, 8
mov dword [esp], eax
call fcn.005e84e0
sub esp, 4
cmp eax, edi
je 0x504bc0
mov ecx, dword [eax + 0x18]
test ecx, ecx
sete al
sub esi, 1
sub ebx, 4
test al, al
jne 0x5040b2
test ecx, ecx
je 0x504bf0
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
mov ebx, eax
je 0x504bf0
mov eax, dword [eax]
mov ecx, ebx
call dword [eax + 0x74]
test al, al
je 0x50414c
mov edi, dword [ebp - 0x98]
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6cadba
mov dword [esp], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x74]
test al, al
je 0x504a90
call fcn.004cb890
mov dword [esp], 0x6c
mov ecx, eax
call fcn.004cba30
movzx edx, byte [eax + 0x64]
sub esp, 4
and byte [eax + 0x10], 0xc0
and byte [eax + 6], 0xf0
and byte [eax + 8], 0xfe
and edx, 0xfffffff8
or edx, 4
mov byte [eax + 0x64], dl
movzx edx, word [eax + 0x2a]
mov dword [eax], 0x6f2308
mov byte [eax + 4], 0
mov byte [eax + 5], 1
and dx, 0xf80f
or dx, 0x3f0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 0
mov byte [eax + 0x5d], 0
and byte [eax + 0x60], 0x80
or byte [eax + 0x68], 0xf
and word [eax + 0x12], 0xfe3f
and word [eax + 0x10], 0xc03f
and byte [eax + 0x15], 0x80
and byte [eax + 0x18], 0x80
mov dword [eax + 0xc], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x1c], 0xffffffff
mov dword [eax + 0x20], 0xffffffff
mov word [eax + 0x2a], dx
movzx edx, byte [eax + 0x28]
movzx ecx, word [eax + 0x3e]
or byte [eax + 0x34], 0x7f
or dword [eax + 0x2c], 0x7fff8000
and edx, 0xfffffff8
or edx, 4
or cx, 0x1fe0
mov byte [eax + 0x28], dl
mov edx, dword [eax + 0x30]
mov word [eax + 0x3e], cx
shr cx, 8
or word [eax + 0x34], 0x780
or ecx, 0xffffffe0
or dword [eax + 0x38], 0x1ff80
or edx, 0x7f8000
mov dword [eax + 0x30], edx
shr edx, 0x18
or word [eax + 0x3c], 0x1ff8
or edx, 0xffffff80
and byte [eax + 0x43], 0x1f
and byte [eax + 0x44], 0xe0
and dword [eax + 0x10], 0xffc03fff
or word [eax + 0x24], 0xfff
mov byte [eax + 0x33], dl
mov byte [eax + 0x3f], cl
mov byte [eax + 0x40], 0xff
mov esi, dword [ebp - 0x98]
mov byte [eax + 0x45], 0
mov byte [eax + 0x46], 0
mov byte [eax + 0x47], 0
mov dword [eax + 0x48], 0xfffff800
mov dword [esi + 0x6c], eax
mov eax, esi
mov byte [eax + 0x70], 0
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [esp], ebx
mov ecx, eax
call fcn.005d3a20
sub esp, 4
test eax, eax
je 0x504ab0
mov eax, dword [ebp - 0x98]
mov byte [eax + 0x27c], 0
lea eax, [ebp - 0x84]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov ebx, dword [eax + 0x58]
call fcn.004cb890
mov dword [esp], 0x28
mov ecx, eax
call fcn.004cba30
sub esp, 4
mov esi, eax
call fcn.004cb890
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov byte [esi + 0x24], 0
mov dword [ebp - 0x84], esi
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
je 0x504bd3
test eax, eax
je 0x504bcc
mov dword [eax], esi
mov eax, dword [ebx + 4]
add eax, 4
mov dword [ebx + 4], eax
call fcn.004cb890
mov dword [esp], 0xb8
mov ecx, eax
call fcn.004cba30
mov edi, eax
sub esp, 4
and byte [eax + 0x1a], 0xf0
and byte [eax + 0x1c], 0xfe
and byte [eax + 0x74], 0x80
or byte [eax + 0x7c], 0xf
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0x6f2308
mov byte [eax + 0x19], 1
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
mov dword [eax + 0x6c], 0
mov byte [eax + 0x70], 0
mov byte [eax + 0x71], 0
movzx eax, byte [eax + 0x78]
and byte [edi + 0x24], 0xc0
and word [edi + 0x26], 0xfe3f
and word [edi + 0x24], 0xc03f
and eax, 0xfffffff8
or eax, 4
mov byte [edi + 0x78], al
and byte [edi + 0x29], 0x80
and byte [edi + 0x2c], 0x80
mov dword [edi + 0x20], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x30], 0xffffffff
movzx eax, word [edi + 0x3e]
movzx edx, word [edi + 0x52]
or byte [edi + 0x48], 0x7f
or dword [edi + 0x40], 0x7fff8000
and ax, 0xf80f
or ax, 0x3f0
or dx, 0x1fe0
mov word [edi + 0x3e], ax
movzx eax, byte [edi + 0x3c]
mov word [edi + 0x52], dx
shr dx, 8
or edx, 0xffffffe0
mov byte [edi + 0x53], dl
and eax, 0xfffffff8
or eax, 4
mov byte [edi + 0x3c], al
mov eax, dword [edi + 0x44]
or word [edi + 0x38], 0xfff
or word [edi + 0x48], 0x780
or dword [edi + 0x4c], 0x1ff80
or eax, 0x7f8000
mov dword [edi + 0x44], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [edi + 0x47], al
or word [edi + 0x50], 0x1ff8
and byte [edi + 0x57], 0x1f
and byte [edi + 0x58], 0xe0
and dword [edi + 0x24], 0xffc03fff
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x5c], 0xfffff800
mov byte [edi + 0x54], 0xff
mov byte [edi + 0x18], 1
mov byte [edi + 0x59], 0
mov byte [edi + 0x5a], 0
mov byte [edi + 0x5b], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi], 0x6f1ba8
call fcn.004cb890
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x88], eax
call fcn.004cb890
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov dword [edi + 0x98], eax
call fcn.004cb890
mov ebx, eax
call fcn.004cb890
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 8], eax
call fcn.005f3f30
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x9c], edi
mov dword [eax + 8], 0
add eax, 0xc
mov dword [eax - 0xc], 0
mov byte [eax], 0
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], eax
mov byte [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
jmp 0x5045c2
mov eax, dword [ebp - 0x98]
mov ecx, ebx
mov eax, dword [eax]
mov edi, dword [eax + 0x70]
mov eax, dword [ebx]
call dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6c9447
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x98]
mov dword [esp], eax
call edi
add dword [ebp - 0x94], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
cmp dword [ebp - 0x94], eax
jge 0x504900
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [ebp - 0x94]
mov eax, dword [eax + 0x9c]
mov dword [esp], edi
call eax
mov edi, eax
mov eax, dword [eax]
sub esp, 4
test eax, eax
je 0x5048e0
call fcn.004cb890
mov dword [esp], 0x98
mov ecx, eax
call fcn.004cba30
mov edx, dword [edi + 4]
mov ebx, eax
mov eax, dword [edi]
sub esp, 4
mov byte [ebx + 0x1d], 1
and byte [ebx + 0x78], 0x80
or byte [ebx + 0x80], 0xf
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 0x1e]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov byte [ebx + 0x14], 1
mov byte [ebp - 0x8c], al
and byte [ebp - 0x8c], 0xf0
movzx eax, byte [ebp - 0x8c]
movzx ecx, byte [ebx + 0x20]
mov dword [ebx], 0x6f25c8
mov dword [ebx + 0x18], 0x6f2308
mov byte [ebx + 0x1e], al
movzx eax, byte [ebx + 0x7c]
mov byte [ebp - 0x90], cl
and byte [ebp - 0x90], 0xfe
movzx ecx, byte [ebp - 0x90]
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x1c], 0
mov byte [ebx + 0x20], cl
mov dword [ebx + 0x64], 0
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x70], 0
mov byte [ebx + 0x74], 0
mov byte [ebx + 0x75], 0
mov byte [ebx + 0x7c], al
movzx eax, word [ebx + 0x42]
movzx ecx, word [ebx + 0x56]
and byte [ebx + 0x28], 0xc0
and word [ebx + 0x2a], 0xfe3f
and ax, 0xf80f
or ax, 0x3f0
or cx, 0x1fe0
mov word [ebx + 0x42], ax
movzx eax, byte [ebx + 0x40]
mov word [ebx + 0x56], cx
shr cx, 8
or ecx, 0xffffffe0
and word [ebx + 0x28], 0xc03f
and eax, 0xfffffff8
or eax, 4
mov byte [ebx + 0x40], al
mov eax, dword [ebx + 0x48]
and byte [ebx + 0x2d], 0x80
and byte [ebx + 0x30], 0x80
or dword [ebx + 0x44], 0x7fff8000
or eax, 0x7f8000
mov dword [ebx + 0x48], eax
shr eax, 0x18
or eax, 0xffffff80
or word [ebx + 0x3c], 0xfff
or byte [ebx + 0x4c], 0x7f
mov byte [ebx + 0x4b], al
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x2c], 0
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov byte [ebx + 0x5d], 0
mov byte [ebx + 0x5e], 0
mov byte [ebx + 0x5f], 0
mov dword [ebx + 0x60], 0xfffff800
or word [ebx + 0x4c], 0x780
and dword [ebx + 0x28], 0xffc03fff
or dword [ebx + 0x50], 0x1ff80
or word [ebx + 0x54], 0x1ff8
and byte [ebx + 0x5b], 0x1f
and byte [ebx + 0x5c], 0xe0
mov byte [ebx + 0x57], cl
mov byte [ebx + 0x58], 0xff
movzx eax, byte [edx + 4]
mov byte [ebx + 0x84], 0
mov dword [ebx + 0x88], 0x6f1b88
mov dword [ebx + 0x8c], 0
mov byte [ebx + 0x1c], al
mov eax, dword [edx + 0x5c]
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0xffffffff
mov dword [ebx + 0x74], eax
mov eax, dword [edx + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [edx + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [edx + 0x68]
mov dword [ebx + 0x80], eax
mov eax, dword [edx + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [edx + 0x10]
mov dword [ebx + 0x28], eax
mov eax, dword [edx + 0x14]
mov dword [ebx + 0x2c], eax
mov eax, dword [edx + 0x18]
mov dword [ebx + 0x30], eax
mov eax, dword [edx + 0x1c]
mov dword [ebx + 0x34], eax
mov eax, dword [edx + 0x20]
mov dword [ebx + 0x38], eax
mov eax, dword [edx + 0x24]
mov dword [ebx + 0x3c], eax
mov eax, dword [edx + 0x28]
mov dword [ebx + 0x40], eax
mov eax, dword [edx + 0x2c]
mov dword [ebx + 0x44], eax
mov eax, dword [edx + 0x30]
mov dword [ebx + 0x48], eax
mov eax, dword [edx + 0x34]
mov dword [ebx + 0x4c], eax
mov eax, dword [edx + 0x38]
mov dword [ebx + 0x50], eax
mov eax, dword [edx + 0x3c]
mov dword [ebx + 0x54], eax
mov eax, dword [edx + 0x40]
mov dword [ebx + 0x58], eax
mov eax, dword [edx + 0x44]
mov dword [ebx + 0x5c], eax
mov eax, dword [edx + 0x48]
mov dword [ebx + 0x60], eax
movzx ecx, byte [edx + 5]
and ecx, 0xf
mov byte [ebx + 0x1d], cl
movzx eax, byte [edx + 5]
and eax, 0xfffffff0
or eax, ecx
mov byte [ebx + 0x1d], al
movzx eax, byte [edx + 6]
and eax, 0xf
or al, byte [ebp - 0x8c]
mov byte [ebx + 0x1e], al
movzx eax, byte [edx + 8]
and eax, 1
or al, byte [ebp - 0x90]
mov byte [ebx + 0x20], al
mov eax, dword [edx + 0x4c]
mov dword [ebx + 0x64], eax
mov eax, dword [edx + 0x50]
mov dword [ebx + 0x68], eax
mov eax, dword [edx + 0x54]
mov dword [ebx + 0x6c], eax
mov eax, dword [edx + 0x58]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x58]
mov dword [esp], ebx
call fcn.005a7250
sub esp, 4
test al, al
je 0x504580
mov dword [edi], 0
mov edi, dword [ebp - 0x98]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0051b2b0
sub esp, 8
mov ecx, dword [edi + 0x28]
mov edi, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.0051a8e0
sub esp, 0xc
mov dword [ebp - 0x9c], eax
jmp 0x5045bb
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x98]
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0051b5e0
jmp 0x5048b1
movzx eax, byte [ebp - 0x20]
and byte [ebp - 0x74], 0xc0
mov edi, dword [ebp - 0x9c]
mov dword [ebp - 0x84], 0x6f2308
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x20], al
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x7f], 1
and byte [ebp - 0x7e], 0xf0
and byte [ebp - 0x7c], 0xfe
and byte [ebp - 0x24], 0x80
or byte [ebp - 0x1c], 0xf
and word [ebp - 0x72], 0xfe3f
and word [ebp - 0x74], 0xc03f
and byte [ebp - 0x6f], 0x80
and byte [ebp - 0x6c], 0x80
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x27], 0
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x70], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
movzx eax, word [ebp - 0x5a]
movzx edx, word [ebp - 0x46]
or byte [ebp - 0x50], 0x7f
or dword [ebp - 0x58], 0x7fff8000
and ax, 0xf80f
mov esi, dword [ebp - 0x98]
or ax, 0x3f0
or dx, 0x1fe0
mov word [ebp - 0x5a], ax
movzx eax, byte [ebp - 0x5c]
mov word [ebp - 0x46], dx
shr dx, 8
or word [ebp - 0x50], 0x780
or edx, 0xffffffe0
or dword [ebp - 0x4c], 0x1ff80
and eax, 0xfffffff8
or eax, 4
mov byte [ebp - 0x5c], al
mov eax, dword [ebp - 0x54]
or word [ebp - 0x48], 0x1ff8
and byte [ebp - 0x41], 0x1f
and byte [ebp - 0x40], 0xe0
or eax, 0x7f8000
mov dword [ebp - 0x54], eax
shr eax, 0x18
or eax, 0xffffff80
mov byte [ebp - 0x51], al
mov eax, dword [ebp + 8]
and dword [ebp - 0x74], 0xffc03fff
or word [ebp - 0x60], 0xfff
mov byte [ebp - 0x45], dl
mov byte [ebp - 0x44], 0xff
mov eax, dword [eax]
mov ecx, dword [esi + 0x28]
mov byte [ebp - 0x3f], 0
mov byte [ebp - 0x3e], 0
mov byte [ebp - 0x3d], 0
mov dword [ebp - 0x3c], 0xfffff800
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [esp], edi
mov dword [esp + 4], 5
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [esp + 8], eax
call fcn.0051ab70
mov eax, edi
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x71], 0
sub esp, 0x1c
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x70]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, dword [ebp - 0x98]
mov dword [esi + 0x6c], eax
mov eax, esi
jmp 0x504291
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0x18]
mov ebx, dword [eax + 4]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov esi, dword [ebp - 0x98]
mov edi, dword [esi + 0x28]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea ecx, [edi + 0x10]
mov dword [ebp - 0x8c], edi
call fcn.005ffab0
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp + 0xc]
add dword [eax + 0x1a0], 1
mov eax, dword [ebp + 0xc]
sub esp, 8
mov byte [esi + 0x27c], 1
mov eax, dword [eax]
call dword [eax + 0x90]
test eax, eax
jle 0x504b43
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], str.function_cannot_take_any_parameter_s_
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call ebx
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0x30]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x20]
mov dword [ebp - 0xa0], esi
test eax, eax
je 0x5042d4
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0xa0]
mov dword [esp], eax
call fcn.005d0080
mov eax, dword [ebp - 0x80]
sub esp, 4
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], str.entry_point_cannot_return_a_value
mov dword [esp + 8], 0x6c5660
mov dword [esp], esi
mov dword [esp + 4], eax
call ebx
mov eax, dword [ebp - 0x80]
lock sub dword [eax - 4], 1
jmp 0x5042d4
mov eax, 1
xor ecx, ecx
jmp 0x5040e7
xor eax, eax
jmp 0x50434b
mov eax, dword [ebp - 0xa0]
mov ecx, ebx
mov dword [esp], eax
call fcn.00635040
sub esp, 4
jmp 0x504351
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi]
mov ebx, dword [eax + 0x70]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x10], 0x6c5660
mov dword [esp + 8], 0x6cad5a
mov dword [esp], esi
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
call ebx
jmp 0x50415b